home *** CD-ROM | disk | FTP | other *** search
/ Education (Super OZ Shareware) / Education (Super OZ Shareware).iso / arj / arj.doc < prev    next >
Text File  |  1993-07-20  |  147KB  |  3,874 lines

  1.  
  2.      User's Manual for the ARJ archiver program,                April 1993
  3.  
  4.  
  5.  
  6.     ARJ software and manual copyright (c) 1990-93 by Robert K Jung.
  7.     All rights reserved.
  8.  
  9.     ARJ version 2.41 release
  10.  
  11.  
  12.  
  13.      ** IMPORTANT NEWS ****************************************************
  14.  
  15.     Users of ARJ should read the WHATSNEW.DOC and UPDATE.DOC files
  16.     which contain information about the latest improvements to ARJ.
  17.  
  18.      **********************************************************************
  19.  
  20.  
  21.  
  22.      TOPICS COVERED IN THIS DOCUMENT
  23.      -------------------------------
  24.  
  25.      DEDICATION
  26.      INTRODUCTION
  27.      TERMINOLOGY
  28.      MAJOR FEATURES OF ARJ
  29.      ARCHIVER BENCHMARKING
  30.      RELEASE NOTES
  31.      TECHNICAL NOTES
  32.      ARJR AND DEARJ PROGRAMS
  33.      INSTALLATION
  34.      QUICK START TO USING ARJ
  35.      HOW TO CREATE AN EXECUTABLE SELF-EXTRACTING ARJ ARCHIVE
  36.      CONVERTING OTHER ARCHIVE FILES TO ARJ FORMAT
  37.      HOW TO USE ARJ
  38.      ARJ LIMITATIONS
  39.      IMPORTANT DIFFERENCES BETWEEN ARJ AND LHARC:
  40.      IMPORTANT NOTES
  41.      TIPS TO USING ARJ EFFICIENTLY
  42.      USING ARJ WITHIN OTHER PROGRAMS
  43.      ARJMENU PROGRAM
  44.      USING ARJ AS A BACKUP PROGRAM
  45.      BACKUP TYPE ARCHIVES AND BACKUP FILES
  46.      THE FILESPEC "..."
  47.      ARJ ERROR SITUATIONS
  48.      ARJ DOS ERRORLEVELS
  49.      ARJ USER ACTION PROMPTS
  50.      ARJ ENVIRONMENT VARIABLE
  51.      ARJ COMMAND LINE SYNTAX
  52.      ARCHIVE NAME WILDCARDING
  53.      ARJ COMMANDS
  54.      ARJ SWITCH OPTIONS
  55.      ARJ COMMAND OPTIONS
  56.      SAMPLE ARJ COMMANDS
  57.      ARJ_SECURITY ENVELOPE
  58.      KNOWN ARJ ISSUES/PROBLEMS
  59.      ARJ ERROR MESSAGES
  60.      ARJ TECHNICAL SUPPORT
  61.      ARJ AVAILABILITY
  62.      SDN EXTENSION FILES
  63.      DISTRIBUTORS
  64.      ACKNOWLEDGEMENTS
  65.      USAGE AND DISTRIBUTION POLICY
  66.      BRIEF BIOGRAPHY OF ARJ AUTHOR:
  67.      FINAL COMMENTS
  68.  
  69.  
  70.  
  71.      DEDICATION:
  72.  
  73.     The ARJ program is dedicated to God and to my family.
  74.  
  75.  
  76.      INTRODUCTION:
  77.  
  78.  
  79.     ARJ is the result of a desire to use my interest in compression
  80.     technology to produce an archiver for personal use on PCs and on
  81.     minicomputers that provides power and excellent flexibility.
  82.  
  83.     I expect to continue to improve ARJ in speed, compression, and
  84.     features.
  85.  
  86.     There are plans to port versions of ARJ to other platforms in the
  87.     future pending sufficient time and funding.
  88.  
  89.  
  90.      TERMINOLOGY:
  91.  
  92.     The following terms are used through this manual.
  93.  
  94.     ARCHIVE - This is a file containing one or more files in a
  95.     compressed or non-compressed state and containing file related
  96.     information such as filename and date-time last modified, etc.
  97.  
  98.     ARJ FILE - This is an archive created by ARJ, sometimes called an
  99.     arjive in slang terminology.
  100.  
  101.     BACKUP TYPE ARCHIVE - This is an ARJ archive which has the internal
  102.     backup flag turned on.    This causes all current and future updates
  103.     to the archive NOT to overwrite internal files in the archive when
  104.     adding files with the same names as ones already in the archive.
  105.     The older duplicate files in the archive will be marked as backups.
  106.  
  107.     COMPRESSION - The process of encoding redundant information into
  108.     data requiring less storage space.
  109.  
  110.     COMPRESSION PERCENTAGE/RATIO - The percentage compression reported
  111.     by ARJ is a variation of one of the TWO standard methods of
  112.     expressing compression ratio in the technical literature.  ARJ uses
  113.     the compressed size / original size ratio.  The other method is the
  114.     inverse ratio.    When ARJ reports 96% as the compression ratio, that
  115.     means that the compressed file is 96 percent of the original size
  116.     (very little compression).  Other archivers use their own methods.
  117.     LHARC uses the same ratio as ARJ.
  118.  
  119.     EXTRACTION or UNCOMPRESSION - The processing of recreating the
  120.     exact information that was previously compressed.
  121.  
  122.     SELF-EXTRACTION MODULE (SFX) - This is an archive that is an
  123.     executable file that is capable of extracting self-contained files.
  124.  
  125.     TEXT MODE - In text mode, ARJ inputs the file using the C library
  126.     text mode which translates the carriage return, linefeed control
  127.     characters of MS-DOS to a single linefeed character.  This saves
  128.     space and provides the option for cross platform file extraction.
  129.     On another platform, the host C library would change the single
  130.     linefeed to the host text newline separator sequence.  In addition,
  131.     for platforms such as PRIMOS which set bit 8 in ASCII text
  132.     characters, ARJ sets/resets bit 8 according to the platform
  133.     extracted to.  When extracting a text mode file to the same type
  134.     of platform archived from, ARJ will NOT strip the 8-bit text to
  135.     7-bit text.
  136.  
  137.     VOLUMES - These are ARJ archives that are in sequence and have been
  138.     created by a single ARJ command.  Files in the volumes may span
  139.     volumes in a split format.  These volumes are usable archives.
  140.  
  141.  
  142.      MAJOR FEATURES OF ARJ:
  143.  
  144.     Currently ranks as one of the best in compression in terms of size
  145.     reduction of the currently available archivers including PKZIP
  146.     1.10, PKZIP 2.04, PAK 2.51, ARC 7.0 (ARC PLUS), LHARC 1.13c, LHA
  147.     2.13 and the new ZOO 2.10.  ARJ is particularly effective with
  148.     database files and documents.
  149.  
  150.     Archive and individual file comments with the option of
  151.     inputting comments from a file.
  152.  
  153.     ARJ has MS-DOS 3.x international language support for the proper
  154.     casing of filenames and text.
  155.  
  156.     32 bit CRC file integrity check.
  157.  
  158.     DOS volume label support.
  159.  
  160.     Default storing of specified pathnames to allow recovery of a
  161.     directory structure.
  162.  
  163.     Empty directory support.
  164.  
  165.     File generation archive support where ARJ will allow the user to
  166.     keep several versions of the same file in an archive.
  167.  
  168.     Test new archive before overwriting the original archive option.
  169.  
  170.     Archives that can span diskettes.  This allows the user to backup
  171.     a full hard disk drive to multiple floppies.  Recovery of
  172.     individual files is convenient because each diskette archive is an
  173.     individual archive except for the split file portion.  No need to
  174.     use SLICE with ARJ.  In addition, ARJ in disk spanning mode can
  175.     support the use of 3.5 HD diskettes formatted at higher capacities
  176.     than 1.44 MBytes.  Moreover, ARJ can build these disk spanning
  177.     archives on the hard disk drive for later transfer to diskettes.
  178.  
  179.     Archive file re-ordering facility with the option of sorting by
  180.     file size, file extension, CRC value, date-time modified, filename,
  181.     pathname, compression ratio, file attribute and more.
  182.  
  183.     String searching with context display within archive files.
  184.  
  185.     Built-in facility to recover files from broken archives.
  186.  
  187.     Self-extraction feature that is internal to the ARJ runfile.  The
  188.     SFX module is full-featured with a built-in help screen.  ARJ also
  189.     includes a smaller SFXJR module with few features.
  190.  
  191.     Internal string data integrity check in ARJ to resist hacking a la
  192.     LHARC to ICE.
  193.  
  194.     Archive security envelope feature to resist tampering with secured
  195.     archives.  This feature disallows ANY changes to a secured archive.
  196.     Even the archive comments can NOT be changed.
  197.  
  198.     Password option to encrypt archived files.
  199.  
  200.     Text mode data compression option to enable movement of text files
  201.     from one host machine to another.  Text mode also results in
  202.     slightly greater file size reduction on MS-DOS machines.
  203.  
  204.     File extraction to screen in a paged mode to permit browsing
  205.     through an archive.
  206.  
  207.     Specification of the files to be added to or exclude from an
  208.     archive via one or more list files.  In addition, ARJ can generate
  209.     a list file.
  210.  
  211.     Specification of files to be excluded from processing by ARJ.
  212.  
  213.     Sub-directory recursion during compression and extraction.
  214.  
  215.  
  216.      ARCHIVER BENCHMARKING:
  217.  
  218.     This is information for those who plan to publish benchmark test
  219.     results comparing ARJ with other file archivers.
  220.  
  221.     The ARJ -jm compression is intended to demonstrate the best that
  222.     ARJ can do in terms of size reduction.    However, the ARJ -jm1
  223.     compression is almost as good in terms of size reduction.  The ARJ
  224.     -m2 compression is intended to compete with LHA 2.12.  The ARJ -m3
  225.     compression is intended to compete with PKZIP 1.10.
  226.  
  227.     The ARJ -e option is necessary during size benchmarks because ARJ
  228.     by default stores the entire specified pathname in the archive as
  229.     opposed to other archivers which strip path specs.
  230.  
  231.     The very size of the ARJ runfile adds significantly to the
  232.     compression and extraction times when testing smaller archives.
  233.  
  234.  
  235.      RELEASE NOTES:
  236.  
  237.     The use of ARJ in a business, commercial, institutional, or
  238.     government environment requires a license.  However, business,
  239.     commercial, institutional and government users may use ARJ for
  240.     evaluation purposes for a period of 30 days.  See the LICENSE.DOC
  241.     for full details.
  242.  
  243.     The inclusion of any of the ARJ software (ARJ, ARJR, DEARJ,
  244.     ARJSFX, ARJSFXJR, REARJ) with software and/or hardware for
  245.     distribution requires a license.
  246.  
  247.     While evaluating ARJ, you should use the "-jt" (test archive)
  248.     option to verify new ARJ archives of your data.
  249.  
  250.     This version has been tested under DOS 2.11, 3.3, 4.01, 5.0, and
  251.     DOS 6.0.  It also runs under the DOS windows of Windows 3.x and
  252.     OS/2 2.0.
  253.  
  254.     Here is a suggested command that will test ARJ on all of your files:
  255.  
  256.     ARJ a testvol c:\ "-v360sdel testvol.*" -xtestvol.* -y -jf -jt1 -r
  257.  
  258.  
  259.      TECHNICAL NOTES:
  260.  
  261.     A detailed technical description of the ARJ archive format is
  262.     available in the UNARJ distribution archive.  This archive
  263.     contains a description of the archive header formats as well as C
  264.     source code for an ARJ archive extractor and lister program.  This
  265.     source code has been made portable to several platforms including
  266.     UNIX, NEXT, DOS, and AMIGA.
  267.  
  268.  
  269.      ARJR, DEARJ, and REARJ PROGRAMS:
  270.  
  271.     The new programs ARJR and DEARJ are available to registered and
  272.     licensed users of ARJ.    ARJR is the ARJ program without the help
  273.     screen and SFX modules.  DEARJ is the ARJR program without the
  274.     archive creation/modification functions, the "w" command, and
  275.     the "-jt1" and "-jt2" switches.
  276.  
  277.     There are two versions of REARJ, the shareware version and the
  278.     registered version.  The registered version contains a number of
  279.     additional enhancements including environment variable usage,
  280.     !listfile capability and selection by file date-time.
  281.  
  282.     See the LICENSE.DOC and ORDERFRM.DOC for more information.
  283.  
  284.     UNARJ and DEARJ are NOT the same program.
  285.  
  286.  
  287.      INSTALLATION:
  288.  
  289.     I assume that you have a copy of the self-extracting ARJ module
  290.     named ARJ###.EXE where "###" represents the ARJ version number.
  291.     Typing ARJ### [RETURN] at the DOS command prompt will initiate the
  292.     self-extraction feature.  ARJ### will by default extract its files
  293.     to the current directory.  When ARJ### starts, you will see
  294.     several lines of text describing ARJ and then a line asking if you
  295.     wish to continue extraction.  Entering "yes" or "y" will continue
  296.     the extraction.  If there are any duplicate filenames in the
  297.     current directory, the program will prompt you for overwriting.
  298.     You can enter "yes", "no", or "quit".
  299.  
  300.     To install the ARJ software, simply copy ARJ.EXE, REARJ.EXE,
  301.     REARJ.CFG, and ARJSORT.COM to one of the directories named in the
  302.     DOS PATH statement found in your AUTOEXEC.BAT.    On many PCs, this
  303.     directory may be C:\DOS or C:\BIN.  With MS-DOS 3.0 and above, you
  304.     can use path notation "\BIN\ARJ e archive" to use ARJ.
  305.  
  306.     You may, of course, prefer to use ARJ 1.00 or higher to extract
  307.     the contents of ARJ###.EXE file manually.
  308.  
  309.     Example:  ARJ e ARJ###.EXE \temp\
  310.  
  311.  
  312.      QUICK START TO USING ARJ:
  313.  
  314.     See the document INTRO.DOC.
  315.  
  316.  
  317.      HOW TO CREATE AN EXECUTABLE SELF-EXTRACTING ARJ ARCHIVE
  318.  
  319.     The command "ARJ y -je archive" will create a full featured
  320.     self-extracting archive from an already built archive.
  321.  
  322.     The command "ARJ y -je1 archive" will create a smaller
  323.     self-extracting archive.
  324.  
  325.     Syntax:  ARJ y -je archive    produces archive.exe
  326.  
  327.     Under DOS systems other than 2.11, 3.2, 3.3, 4.0, 5.0 and 6.0
  328.     you may have to rename the self-extract module to ARJSFX.EXE to
  329.     do the extraction.
  330.  
  331.     See the "-je" option for more information.
  332.  
  333.  
  334.      CONVERTING OTHER ARCHIVE FILES TO ARJ FORMAT
  335.  
  336.     Included with this software is the program REARJ.  This program can
  337.     be used to individually or collectively convert archive files from
  338.     other formats to the ARJ format.
  339.  
  340.     REARJ *.ZIP *.ARC *.LZH   will convert all ZIP, ARC, and LZH
  341.     archives in the current directory to the ARJ format.  See the
  342.     REARJ.DOC for more information about REARJ.
  343.  
  344.  
  345.      HOW TO USE ARJ:
  346.  
  347.     If you type ARJ [return], you will see a simple help screen.
  348.  
  349.     If you type ARJ -? [return], you will see more detailed help
  350.     information.
  351.  
  352.  
  353.      ARJ LIMITATIONS:
  354.  
  355.     ARJ will accept up to:      64 filenames/wildnames on command line
  356.                    16000 filenames resulting from wildnames
  357.                 8000 filenames/wildnames to exclude
  358.                 8000 ARJ filenames resulting from wildnames
  359.                 2048 character comments
  360.                      (up to 25 lines or 1 file)
  361.  
  362.     For compressing, ARJ requires approximately 300,000 bytes plus the
  363.     memory necessary to store all of the pathnames to be archived when
  364.     using the default compression method (-m1).
  365.  
  366.     For extracting, ARJ requires approximately 175,000 bytes plus.
  367.     The program DEARJ (available to registered users) requires
  368.     approximately 125,000 bytes plus.
  369.  
  370.     There is no limitation on the number of files that can be stored in
  371.     one archive.  However, each add command can only add a maximum of
  372.     16000 files at a time depending upon memory availability.  I expect
  373.     that a normal maximum of 5,000 to 10,000 filenames can be handled
  374.     without running out of memory during the compress phase.
  375.  
  376.     If you do not have enough memory, you should use the "-l" switch to
  377.     dump the filenames to a list file.  You can then break the list
  378.     file into smaller files and use multiple ARJ commands to archive
  379.     all of the files.
  380.  
  381.     Example:
  382.  
  383.        ARJ a -r -lname.lst archive \*.*
  384.  
  385.        If the above command fails due to lack of memory, split the
  386.        name.lst file into smaller pieces named name1.lst, name2.lst,
  387.        etc.  Then execute:
  388.  
  389.        ARJ a archive !name1.lst
  390.        ARJ a archive !name2.lst
  391.        .
  392.        .
  393.  
  394.     ARJ currently does not see that wildnames like "C:*.*" and "C:\*.*"
  395.     can actually represent the same thing.    ARJ would expand each of
  396.     those two wildnames into a list that could be up to twice as long
  397.     as necessary.
  398.  
  399.     When updating an archive, ARJ creates a temporary file named
  400.     ARJTEMP.$nn in the current directory or work directory.
  401.  
  402.     While ARJ is scanning a wildcard filespec, ARJ will change the name
  403.     of the target archive to ARJTEMP.$nn while the scan is proceeding
  404.     to avoid including the archive itself in an add or move command.
  405.     Also, as a result, you cannot add a file named ARJTEMP.$nn to an
  406.     ARJ archive.  Please note that the name of this temporary file may
  407.     change at a future revision of ARJ.
  408.  
  409.  
  410.      IMPORTANT DIFFERENCES BETWEEN ARJ AND LHARC:
  411.  
  412.     ARJ by default stores the full specified pathname of files
  413.     archived minus any drive letter and root symbol.
  414.  
  415.     The "e" and "x" commands will by default extract all of the files
  416.     in the archive without using date time stamps to select files.    You
  417.     should specify "-u -y" to duplicate LHARC functionality.
  418.  
  419.     The "f" command in ARJ requires the -r switch to be functionally
  420.     identical to the LHARC f command if the original archive were
  421.     created using the -r switch.
  422.  
  423.     ARJ uses the "!" symbol as a prefix character to indicate list
  424.     files.
  425.  
  426.  
  427.      IMPORTANT NOTES:
  428.  
  429.     When using the "-w" working directory switch, ARJ does not check on
  430.     space availability before overwriting the original archive if it
  431.     exists.  Be sure that you have enough disk space for the new
  432.     archive before using the "-w" switch.  If ARJ aborts in this
  433.     situation because of disk space, ARJ will keep the temporary
  434.     archive.
  435.  
  436.     By default, ARJ does not see hidden or system files.  ARJ will
  437.     process system and hidden files when you either specify the "-a"
  438.     switch.
  439.  
  440.     Like LHARC and PKZIP, ARJ requires extra disk space to UPDATE an
  441.     archive file.  ARJ will backup the original archive while it
  442.     creates the new archive, so enough room must be available for both
  443.     archives at the same time.
  444.  
  445.     Unlike PKZIP, ARJ does not require additional work space when
  446.     CREATING a new archive.
  447.  
  448.     Currently, ARJ will not extract overwriting a readonly file unless
  449.     the "-ha" option is specified.
  450.  
  451.  
  452.      TIPS TO USING ARJ EFFICIENTLY
  453.  
  454.     You should use a software or hardware disk cache to speed up ARJ
  455.     access.  Diskette drives should NOT be write-delay enabled.
  456.     Write-delay would prevent ARJ from verifying diskette writes.
  457.  
  458.     When archiving to diskettes, you should use the "-w" option to set
  459.     a working directory on your RAMDRIVE or hard disk drive to speed up
  460.     building the archive.
  461.  
  462.     You should use the "-jt" option when archiving to diskettes or when
  463.     you really want to be sure that ARJ will be able to extract what
  464.     you have archived.  There are cases where your hardware or memory
  465.     resident software will corrupt your work, so the "-jt" option is
  466.     excellent insurance.  If you have bad sectors on your diskettes and
  467.     verify is turned off, DOS will not tell you about diskette errors
  468.     until it is too late.  These errors are NOT RECOVERABLE.
  469.  
  470.     Using the "-js" option saves time by not compressing archives.
  471.  
  472.     You should use the "-e" option whenever you do not need to store
  473.     pathnames in an archive that you are creating.    This will save
  474.     space.
  475.  
  476.     Convert an ARJ archive into a self-extracting archive with a
  477.     command like the following:  ARJ y archive -je
  478.  
  479.     To capture a comment from an ARJ archive, use the following
  480.     command:  ARJ e archive ... -zcomment.txt  (the "..." is
  481.     significant).
  482.  
  483.     ARJ has several compression methods that provide size/time
  484.     tradeoffs.  Method 4 "-m4" is about twice as fast as method 1.    The
  485.     "-jm1" and "-jm" options modify the "-m1" and "-m2" options to
  486.     provide even greater compression at a cost in time.
  487.  
  488.  
  489.      USING ARJ WITHIN OTHER PROGRAMS
  490.  
  491.     Since ARJ uses over 300,000 bytes of memory during compression, it
  492.     is difficult to use ARJ in a large application program unless that
  493.     program swaps itself out of memory when it executes DOS commands
  494.     like ARJ.  However, there is at least one shareware program
  495.     available that will automatically swap your large application
  496.     program out of memory whenever it shells out to DOS to execute a
  497.     command.  The program SHROOM by Davis Augustine should be able to
  498.     solve this memory problem for you.  The latest version as of
  499.     03/11/92 is named SHROM19C.ZIP on Channel One BBS.  According to
  500.     the SHROOM documentation, you can reach the author at:
  501.  
  502.         CompuServe id 72230,3053
  503.  
  504.         Davis Augustine
  505.         P.O. Box 390178
  506.         Cambridge, MA 02139
  507.  
  508.     This is not an endorsement of the product SHROOM.
  509.  
  510.     The easiest way I have found to use this product is to type:
  511.     SHROOM COMMAND.COM
  512.  
  513.     SHROOM -v COMMAND.COM will let you see SHROOM in action when you
  514.     shell out to execute a DOS command.
  515.  
  516.  
  517.      ARJ FOR MS WINDOWS
  518.  
  519.     There is one program that fully supports the ARJ archive format
  520.     with native Windows code.  That program is D'COMPRESS originally
  521.     by Moon Valley Software.  D'COMPRESS is a Windows file manager
  522.     program with support for archivers.  It is available from computer
  523.     software vendors such as COMPUSA.
  524.  
  525.  
  526.      ARJMENU PROGRAM
  527.  
  528.     A new program called ARJMENU by Michael McCombs will be released
  529.     shortly.  As far as I know, it is the only menu-driven interface
  530.     program that supports ALL of the features of ARJ.  This program is
  531.     aimed at users who hate command line interfaces.  ARJMENU allows
  532.     the user to pick and choose ARJ options.  The user does not have to
  533.     remember the ARJ switch syntax.  The newest version of the program
  534.     supports ARJ version 2.30.  You can reach the author at:
  535.  
  536.         Internet/ARPANet: mccombs@sumax.seattleu.edu
  537.  
  538.         Michael McCombs
  539.         517 Ninth Ave. #310
  540.             Seattle, WA 98104
  541.  
  542.  
  543.      ARJ HELP HYPERTEXT PROGRAM
  544.  
  545.     ARJ-Help is an electronic book (brand named Window Book (TM)) that
  546.     allows the user to discover easily how to use ARJ.  It runs under
  547.     DOS.  It is very fast and has a rich set of features which include
  548.     full-text search, hypertext links, a table of contents that can be
  549.     reorganized to your needs, a complete index, and much more. The
  550.     current version can be found on some BBSes as ARJHLP24.EXE.
  551.  
  552.         Window Book, Inc.
  553.             P.O. Box 390697
  554.             Cambridge MA 02139
  555.         USA
  556.  
  557.         TEL:   617-661-9515 or 800-524-0380.
  558.         FAX:   617-354-3961
  559.  
  560.  
  561.      ARCHIVER UTILITIES THAT SUPPORT THE ARJ FORMAT
  562.  
  563.     The following are some other utilities that facilitate the use of
  564.     ARJ.  This list is not all inclusive or is it meant as a personal
  565.     recommendation.
  566.  
  567.     ARJMENU 1.x    - ARJ shell
  568.     SHEZ 8.x    - Archiver shell
  569.     ARCMASTER 6.x    - Archiver shell
  570.     ZGEN 1.x    - Archiver shell
  571.     ACZAR 1.x    - Archiver shell
  572.     ARJVIEW     - ARJ shell
  573.     AVIEW        - BBS archive viewer
  574.  
  575.  
  576.      USING ARJ AS A BACKUP PROGRAM
  577.  
  578.     ARJ can be used as a substitute for a backup program.  However, it
  579.     does not have the diskette critical error handling or data recovery
  580.     facilities of a FASTBACK, etc.    So you should be sure of the
  581.     reliability of your diskettes.    The most common cause of failure
  582.     is bad diskettes.  You should let ARJ test the archives ON the
  583.     diskettes.  Testing the archives before copying them to diskettes
  584.     is not enough.    Critical data should always be backed up two or
  585.     more times.  Please keep in mind that damage to compressed data
  586.     is many times more serious than damage to uncompressed data.
  587.  
  588.     WARNING:  You should never update multiple volume ARJ archives
  589.     especially backup archives.  Use a separate set of diskettes to
  590.     an incremental backup.
  591.  
  592.     The following partial command lines illustrate a full backup
  593.     command, an incremental backup command, and a restore command.    The
  594.     only parts missing are the names of the files to backup/restore.
  595.  
  596.     ARJ a A:backup -r -vvas -a1 -b2 -js -jt -jiC:\backup.inx -wC:\ -m3
  597.  
  598.     ARJ a A:backup -r -vvas -a1 -b1 -js -jt -jiC:\backup.inx -wC:\ -m3
  599.  
  600.     ARJ x A:backup -vv -y
  601.  
  602.     You should familiarize yourself with the above switches so that you
  603.     can modify the above command lines as needed.
  604.  
  605.     If you have a RAMDRIVE large enough, you should change the "-w"
  606.     option to point to the RAMDRIVE.
  607.  
  608.     If you have enough free hard disk space, you can build all of the
  609.     diskette volumes on the hard disk for later copying to diskette.
  610.     In this case, you will need to change the name of the archive to
  611.     "C:backup" or similar.    The "-vvas" option should be changed to
  612.     "-v360", "-v720" or whatever is appropriate for your diskette size.
  613.     Please note that 360, 720, 1200, and 1440 are abbreviations for the
  614.     standard diskette sizes.  Other sizes will require your entering
  615.     the entire number.  Another change is to add the option "-y" which
  616.     will turn off the "Ok to proceed ..." prompt.  Lastly, if the "-w"
  617.     option is pointing to the hard disk, you should remove the "-w"
  618.     option entirely.
  619.  
  620.     ARJ a C:backup -r -v360  <other options>   -m3 -y
  621.  
  622.     ***IMPORTANT*** Only a maximum of 100 volumes can be built on disk
  623.     at one time because of the volume suffix rolling over at *.A99 to
  624.     *.A00 when using default archive naming.  However, if you specify
  625.     the starting archive name with a suffix of ".000" or ".001", ARJ
  626.     will create up to 1000 or 999 uniquely named volumes.
  627.  
  628.     ARJ a C:backup.000 -r ...........
  629.  
  630.     Both backup commands will pause for a "system command".  You can
  631.     execute DOS commands at this point.  This is a suitable place to do
  632.     a "dir a:" to make sure that your disk is formatted and has enough
  633.     free space on it.  You may need to execute "format a:" or
  634.     "del a:\".  A very useful command might be "QDR A:".  QDR is a
  635.     utility from Vernon Buerg.  You will need to type "exit" to allow
  636.     ARJ to continue.
  637.  
  638.     If the backup fails after completing one or diskettes, you can
  639.     restart at the next archive after the last successful volume.
  640.  
  641.     There are two methods to do this restart.  If you have specified an
  642.     index file with the "-ji" option during the failed backup, you can
  643.     restart by retyping the EXACT SAME command line as before and
  644.     adding the "-jn" option.  This will cause ARJ to scan the
  645.     previously written index file for the proper restart information.
  646.     ARJ will automatically set the correct volume name.
  647.  
  648.     Example:  ARJ a a:backup c:\ -r -vvas -jiINDEX.FIL
  649.           ARJ a a:backup c:\ -r -vvas -jiINDEX.FIL -jn
  650.  
  651.     The second method is more complicated.    Refer to the "-jn" and
  652.     "-jx" descriptions for more details.  For example, if the above
  653.     full backup command failed during diskette two, on filename
  654.     "DOS\MODE.COM" which was started at byte 125.  This would be the
  655.     correct command:
  656.  
  657.     ARJ a A:backup.A01 -r -vvas -a1 <other> -m4 -jx125 -jnDOS\MODE.COM
  658.  
  659.     The most error prone step is determining the correct "-jn" option.
  660.     A common error concerns the use of the root directory symbol "\"
  661.     with the "-jn" option.    Verify the presence or absence of the root
  662.     symbol "\" in the backup index file.
  663.  
  664.     If the restore fails after one or more diskettes, simply retype the
  665.     same command as before but add the right ".Ann" suffix to the
  666.     archive name.  If ARJ has aborted because of a disk full on a file
  667.     split between volumes, you will have to restart at the first volume
  668.     that contains that file.
  669.  
  670.  
  671.      BACKUP TYPE ARCHIVES AND BACKUP FILES
  672.  
  673.     New to ARJ 2.30 and ARJ archives is the concept of "backup" type
  674.     archives.  Normally, when adding duplicate files to an ARJ archive,
  675.     ARJ will overwrite the existing file.  However, at ARJ 2.30 with a
  676.     backup type archive, ARJ will keep the existing file by marking it
  677.     as a backup and inserting the new file.  This will make ARJ
  678.     archives larger than normal.  It is possible to have more than one
  679.     duplicate backup file.    You can make an archive a backup type by
  680.     using the "-jb" option during the add or by typing "ARJ y archive
  681.     -jb".  Any further additions of already existing files will result
  682.     in more files marked as backups.  You may reset that backup flag by
  683.     specifying the "-jb1" option as in "ARJ y archive -jb1".
  684.  
  685.     This feature is useful when backing up frequently modified files.
  686.     One archive can have several days worth of backups.
  687.  
  688.     The existence of backup files or the backup archive flag is
  689.     indicated when executing the "l" or "v" commands.  There will be a
  690.     message at the end of the display.  The backup files themselves can
  691.     be displayed by using the "-jg" or "-jg1" options with the "l" or
  692.     "v" commands.
  693.  
  694.     To extract a specific backup file, you have several options.  You
  695.     can execute "ARJ e archive filename -jg -q" and enter "yes" on the
  696.     specific instance that you wanted extracted.  You can specify the
  697.     exact modification date-time that you want as in "ARJ e archive
  698.     filename -jg -o910101120000 -ob910101130000".  You can specify the
  699.     sequence number of the file in the archive.  To extract the fifth
  700.     file in the archive, type "ARJ e archive 5 -jg -#".  The sequence
  701.     number is available in the "v" command display.  Or you can extract
  702.     all occurrences of the file with "ARJ e archive filename -jg -jo".
  703.     Duplicates will be renamed with numeric file extensions (.000).
  704.  
  705.     The "ARJ k archive *.*" command can be used to purge an archive of
  706.     all backup files.
  707.  
  708.     You can unmark backup files with "ARJ y archive -jb2".    You can
  709.     unmark specific files such as the fifth file in the archive with
  710.     "ARJ y archive -# -jb2 5".
  711.  
  712.     You should not use the "-e" option when adding files to a backup
  713.     type archive because ARJ will not have the ability to distinguish
  714.     between files with the same filespec and different pathspecs.  You
  715.     could end up with duplicate files in the archive as opposed to one
  716.     recent file and several backup files.
  717.  
  718.  
  719.      THE FILESPEC "..."
  720.  
  721.     Several times in this document and the UPDATE.DOC file, there is
  722.     mention of the filespec "...".    This filespec is chosen so as not
  723.     to match any existing filename.  ARJ will NOT generate an error
  724.     or warning for not matching "..." specifically.
  725.  
  726.  
  727.      ARJ ERROR SITUATIONS:
  728.  
  729.     ADD:
  730.  
  731.     If a user specified file is not found during an add, ARJ will
  732.     continue processing, and will keep the archive and terminate with
  733.     an error condition.  Note that files specified within an ARJ
  734.     listfile that are not found during an add will NOT trigger an
  735.     error unless the "-hl" option is also specified.
  736.  
  737.     In a disk full condition or any other file i/o error, ARJ will
  738.     promptly terminate with an error condition and delete the temporary
  739.     archive file unless the user has specified the "-jk" switch.
  740.  
  741.  
  742.     MOVE:
  743.  
  744.     ARJ will only delete files that have been successfully added to the
  745.     archive.  If you have specified the "-jt" (test) switch, ARJ will
  746.     abort on any error.  If you specify the "-jk" switch, ARJ will not
  747.     delete the temporary archive upon an abort.
  748.  
  749.  
  750.     EXTRACT:
  751.  
  752.     In a disk full condition or any other file i/o error, ARJ will
  753.     promptly terminate with an error condition and delete the current
  754.     output file.
  755.  
  756.  
  757.     CRC ERRORS OR BAD FILE DATA:
  758.  
  759.     In the case where an ARJ archive has been corrupted, ARJ will
  760.     report a CRC error or a Bad file data error.  These corruptions
  761.     can be the result of an unreliable diskette, a computer memory
  762.     problem, a file transfer glitch, or incompatible CACHING software.
  763.     Most of these errors are the result of file transfer glitches and
  764.     bad diskettes.    A few are the result of an incompatible
  765.     interaction with SUPER PCKWIK 3.3 advanced diskette support or
  766.     Windows 3.x.
  767.  
  768.  
  769.     CRITICAL ERROR HANDLER:
  770.  
  771.     ARJ sets up an interactive critical error handler to handle DOS
  772.     critical errors like "sector not found" and "drive not ready".
  773.     When a critical error occurs, ARJ will prompt the user with the
  774.     message "Retry Y/N?".  The user may retry the failed operation by
  775.     pressing "Y".  Pressing "N" will fail the operation or abort to DOS
  776.     depending upon the version of DOS.  The user can press Control
  777.     BREAK to abort to DOS.
  778.  
  779.  
  780.      ARJ DOS ERRORLEVELS:
  781.  
  782.     ARJ returns a number of DOS errorlevels for different situations.
  783.  
  784.     0 ->   success
  785.     1 ->   warning (specified file to add to archive not found,
  786.             specified file to list, extract, etc., not found,
  787.             or answering negatively to "OK to proceed to next
  788.             volume..." prompt)
  789.     2 ->   fatal error
  790.     3 ->   CRC error (header or file CRC error)
  791.     4 ->   ARJ-SECURITY error or attempt to update an ARJ-SECURED archive
  792.     5 ->   disk full or write error
  793.     6 ->   can't open archive or file
  794.     7 ->   simple user error (bad parameters)
  795.     8 ->   not enough memory
  796.     9 ->   not an ARJ archive
  797.  
  798.     Please note that DOS batchfiles have a unique method of testing
  799.     for a DOS errorlevel.  The batch statement IF ERRORLEVEL 0 ...
  800.     means if the errorlevel is EQUAL TO or GREATER THAN 0.    Generally,
  801.     one should test for the highest possible errorlevels first and
  802.     proceed lower as in:
  803.  
  804.     ARJ a archive *.*
  805.     if errorlevel 9 goto not_arj
  806.     if errorlevel 8 goto no_memory
  807.     .
  808.     .
  809.     .
  810.     if errorlevel 1 goto minor_error
  811.     type ARJ command successful
  812.  
  813.  
  814.      ARJ USER ACTION PROMPTS:
  815.  
  816.     ARJ prompts the user for action at certain times.  There are
  817.     several types of prompts.  One is for yes/no permission, another is
  818.     for a new filename, another is for archive comments, and one other
  819.     is for search strings.
  820.  
  821.     The ARJ yes/no user prompts provide a lot of flexibility.  In
  822.     addition to the normal yes and no responses, ARJ also accepts the
  823.     following responses: quit, always, skip, global, and command.
  824.  
  825.     "Global" sets ARJ to inhibit all subsequent user prompts by assuming
  826.     YES for all queries as if "-y" were specified.
  827.  
  828.     "Always" sets ARJ to assume YES for subsequent queries of the same
  829.     class.    For example, answering YES to the overwrite query will
  830.     assume YES for ALL subsequent overwrite queries.
  831.  
  832.     "Skip" sets ARJ to assume NO for ALL subsequent queries of the same
  833.     class.
  834.  
  835.     After "always" or "skip" responses, subsequent user prompt
  836.     messages will still be output to the screen but no user response
  837.     will be accepted.
  838.  
  839.     "Command" prompts for one DOS command and then executes it.  ARJ
  840.     then returns to expect an answer to the current yes/no query.  You
  841.     should keep the query in mind as ARJ does NOT always redisplay
  842.     the full query message.
  843.  
  844.     Since ARJ uses STDIN for user input, be careful about typing ahead
  845.     anticipating prompts.  ARJ may prompt you for an unexpected action
  846.     and use your earlier input.
  847.  
  848.     The "-jy" option lets you change the prompting modes to single
  849.     character query mode.  See the section on "-jy" for more
  850.     information.
  851.  
  852.  
  853.      ARJ ENVIRONMENT VARIABLE:
  854.  
  855.     ARJ will first look for an environment variable named ARJ_SW and
  856.     use its value as switch options for ARJ.  If ARJ finds such an
  857.     environment variable, it will display a message to that effect.
  858.  
  859.     You can inhibit ARJ from using this environment variable by using
  860.     the "-+" option.  You can also set the name of the environment
  861.     variable with the "-+" option as in ARJ a -+ARJ_SW2 archive.
  862.  
  863.     SET ARJ_SW=<switches>
  864.  
  865.     Example:  SET ARJ_SW=-w\temp -k -e
  866.  
  867.     Do NOT add any blanks after the variable name ARJ_SW.  As in LHARC,
  868.     command line switches can be selected to override ARJ_SW settings.
  869.  
  870.     ARJ will allow you to use a different switch character "-" or "/"
  871.     in ARJ_SW and in the command line except when using the "-ju"
  872.     (unix) option.
  873.  
  874.     If the ARJ_SW environment variable specifies a filename (text not
  875.     beginning with a switch character), ARJ will open that filename and
  876.     scan it looking for a line of text that begins in column 1 with the
  877.     same letter as the ARJ command being executed.    The following text
  878.     is processed as the ARJ_SW switches.  This allows each ARJ command
  879.     to have its own switch settings.  In addition, ARJ will also look
  880.     for the "+" (plus) symbol in column 1 to use as a miscellaneous
  881.     switch string.    This string will be added to any command switch
  882.     string found if any.  If no command switch string is found, ARJ
  883.     will use the miscellaneous switch string as the ARJ_SW switch
  884.     settings.  NOTE that the "+" switch settings will NOT be used
  885.     if the "+" string occurs below the command switch string.
  886.  
  887.     SET ARJ_SW=C:\ARJ\ARJ.CFG
  888.  
  889.     C:\ARJ\ARJ.CFG contains:
  890.     a -jm1 -jt -i1
  891.     c -zcomment.txt
  892.     + -jv
  893.     l -jp
  894.     e -i1
  895.  
  896.     AND is equivalent to:
  897.     a -jm1 -jt -i1
  898.     c -zcomment.txt
  899.     l -jp -jv
  900.     e -i1 -jv
  901.     f -jv
  902.     v -jv
  903.     all other commands
  904.     .
  905.     .
  906.     .
  907.  
  908.     In the above example, any ARJ "a" commands will use "-jm1 -jt -i1"
  909.     as the ARJ_SW switch options.
  910.  
  911.     The ARJ_SW variable or the ARJ_SW configuration file switch
  912.     settings may NOT have quoted switches such as "-vasformat a:".
  913.  
  914.  
  915.      ARJ COMMAND LINE SYNTAX:
  916.  
  917.     ARJ <command> [-<switch>[-|+|<option>]...] <archive_name>[.ARJ]
  918.     [<base_directory_name>\] [<!list_name>|<path_name>|<wild_name>...]
  919.  
  920.     Commands and switches can be entered in upper or lower case.
  921.     Switches can be placed anywhere after the command ARJ.
  922.  
  923.     ARJ supports the use of either "-" or "/" as the switch option
  924.     character.  The first occurrence of either "-" or "/" that ARJ
  925.     encounters in the ARJ_SW variable will determine the switch symbol
  926.     for processing ARJ_SW.    The first occurrence of either "-" or "/"
  927.     that ARJ encounters in the command line will determine the switch
  928.     symbol for processing the command line except when the "-ju" (unix)
  929.     option has been specified in ARJ_SW.  You may NOT mix and match
  930.     switch symbols.  Throughout this document, the symbol "/" may be
  931.     substituted for "-" in switch usage.
  932.  
  933.     Examples:  ARJ a A:archive *.* /va /r     is correct
  934.            ARJ a A:archive *.* /va -r     IS INCORRECT USAGE!
  935.  
  936.     Switches specified on the command line will either toggle or
  937.     override switches specified with the ARJ_SW environment variable.
  938.     Switch usage is identical to that of LHARC.
  939.  
  940.     "-s+"         turns on switch "s".
  941.     "-s-"         turns off switch "s".
  942.     "-s"         toggles the state of switch "s".
  943.     "-sname"     provides the name argument for switch "-s".
  944.     "--"         skip processing of any more switch options.
  945.  
  946.     Switch options CAN be combined to save command line length.
  947.     However, some switch options take optional string arguments and
  948.     therefore, must be the last option in a combined argument token
  949.     string because ARJ accepts the rest of the argument token as the
  950.     optional argument.  You can combine "-r" and "-i" to make "-ri".
  951.     You can combine "-wd:\" and "-i" with "-iwd:\", because the switch
  952.     option taking the string argument is last.  Please note that
  953.     switches that ONLY accept the "+", "-", "0", "1", "2" modifiers can
  954.     be combined in any order.  The following switches must be last in a
  955.     combined switch argument:  -g, -l, -m, -o, -t, -v, -w, -x, -z, -!,
  956.     -$, -hc, -hx, -jc, -jd, -jh, -ji, -jn, -jp, -js, -jw, -jx, -jy, -jz.
  957.  
  958.     WARNING:  The "j" in "-jX" option switches is a SHIFT symbol.
  959.     Therefore, a combined "-jatv" is a combination of "-ja", "-jt", and
  960.     "-jv", since the "j" shifts the meaning of subsequent symbols in
  961.     the argument token string.  The use of more than ONE "j" shift
  962.     symbol per argument token string is NOT supported for future
  963.     versions.
  964.  
  965.     Examples:  -rijvta   <=>  -r -i -jv -jt -ja
  966.            -i1kwd:\  <=>  -i1 -k -wd:\
  967.  
  968.     ARJ will accept an ending "-" on most switches such as "-w-".  The
  969.     "-x" switch option is one exception.  The one caveat is that for
  970.     switches that support an optional argument such as "-wd:\" or
  971.     "-t1", that switch option must NOT be followed by a concatenated
  972.     switch option such as "-w-r".  An argument token string such is
  973.     "-rikw-" is acceptable because the "-w" option is the last one.
  974.     One special switch combination is the "-jyyr" combination.  You can
  975.     turn off the "y" and "r" modifiers with "-jyyr-".
  976.  
  977.     The switch option "--" tells ARJ that there are no more switch
  978.     options to process in the current command line.  This is useful
  979.     when you need to enter filenames beginning with "-".
  980.  
  981.     Example:  ARJ a archive -- -testfile
  982.  
  983.     The standard ARJ file suffix is ".ARJ".  Subsequent multiple volume
  984.     archives end in ".A01", ".A02", etc, up to .A99, .A00, .A01.  It is
  985.     possible to have multiple volumes start at ".001" and go up to
  986.     ".999".
  987.  
  988.     The ARJ command must be the first non-switch argument after "ARJ".
  989.     The ARJ archive name must be the first filename on the command
  990.     line.  The base directory, if any, must be the second filename
  991.     argument.  The switches and other filenames can be in any order.
  992.     The base directory name should end with "\" (backslash) or ":"
  993.     (colon).  However, ARJ will still accept directory names without
  994.     the "\" character if the directory already exists.  This feature
  995.     is limited to the add type and extract type commands.
  996.  
  997.     Wild_names follow MS-DOS convention.  "*.*" means all files.
  998.     "*.DOC" means all files with an extension of ".DOC".  "?B*.*"
  999.     means all files with a second character of "B".
  1000.  
  1001.     The default for <wild_name> for all commands except for "d" is
  1002.     "*.*".
  1003.  
  1004.     For the add, move, freshen and update commands, filename matching
  1005.     in the archive requires an exact path match depending upon the "-e"
  1006.     option.  For non-update commands, specified filenames with paths
  1007.     will force a full pathname match.
  1008.  
  1009.     You can supply one or more filenames for files containing lists of
  1010.     files to be added to an archive.  The filenames must be listed one
  1011.     per line with no leading or trailing blanks.  The list filename(s)
  1012.     must be prefixed with "!".  If you want to archive a filename
  1013.     beginning with !, you must use the "-!" option to set a new list
  1014.     file character.
  1015.  
  1016.     You can exclude filenames/wildnames from the list of filenames to
  1017.     be processed by ARJ.
  1018.  
  1019.     Example:  ARJ a software *.* -x*.exe -x*.obj   adds all files
  1020.     in the current directory except .EXE and .OBJ files.
  1021.  
  1022.  
  1023.      ARCHIVE NAME WILDCARDING:
  1024.  
  1025.     You can specify a wildcard for the archive name such as "*.ARJ" for
  1026.     all ARJ commands except for the add commands (a, f, j, m, u).  If
  1027.     you also specify the "-r" switch,  ARJ will search subdirectories
  1028.     for ARJ archives (*.ARJ) also.
  1029.  
  1030.     Example:  ARJ l -r *         will list all of your *.ARJ files.
  1031.           ARJ c *.arj -zbbs.cmt  will comment all of your archives.
  1032.  
  1033.  
  1034.      ARJ COMMANDS:
  1035.  
  1036.     a: Add files to archive
  1037.  
  1038.        This is the basic command to add disk files to an ARJ archive.
  1039.        You can specify 0 to 64 filename arguments (one can be a
  1040.        destination directory).  The arguments can be wildnames.  If
  1041.        you specify the "-r" switch (recurse subdirectories), ARJ
  1042.        will add all of the files in all of the subdirectories that
  1043.        match the specified wildname.
  1044.  
  1045.        Example:  ARJ a archive subdir\*.*
  1046.              Archive all files in directory "subdir".
  1047.  
  1048.        For maximum compression, use the "-jm" switch option.
  1049.  
  1050.     b: execute Batch or DOS command
  1051.  
  1052.        The ARJ b command allows a user to execute a DOS command on
  1053.        selected files in an archive.  The ARJ b command will prompt for a
  1054.        DOS command string to execute per selected file.  By default ARJ
  1055.        will extract the selected files to the filename ARJTEMP.$$$.  This
  1056.        filename can be changed with the "-jw" option.  The base directory
  1057.        option is ignored by the ARJ b command.  The output file will be
  1058.        deleted by ARJ after the DOS command is executed.
  1059.  
  1060.        Examples:  ARJ b archive
  1061.               ARJ b archive file.exe -jwtemp\tempfile
  1062.  
  1063.        This option can substitute for a simple extract and run command
  1064.        where the file to be extracted is an executable.  You would specify
  1065.        a temporary executable name as the output name and use that name as
  1066.        the DOS command to be executed.
  1067.  
  1068.        Example:  ARJ b archive file.exe -jwTEMP.EXE
  1069.              TEMP arguments
  1070.  
  1071.        You can supply the DOS command string on the command line with
  1072.        the "-jq" option.  Switch options which have embedded blanks
  1073.        must be enclosed by double quote marks.
  1074.  
  1075.        Examples:  ARJ b archive file.exe -jwTEMP.EXE -jqTEMP
  1076.               ARJ b archive *.c "-jqgrep text ARJTEMP.$$$"
  1077.  
  1078.     c: Comment archive files
  1079.  
  1080.        This command allows you to comment the header and individual
  1081.        files.  ARJ will prompt you for each comment.  The user will be
  1082.        prompted for up to 25 lines for each comment.  A line containing
  1083.        only a [return] will terminate the comment.
  1084.  
  1085.        The user can choose to input comment data from a file by entering
  1086.        the comment filename preceded by an "!" as in "!archive.txt"
  1087.        starting in column 1 of the first comment line.  This file is
  1088.        read as a text file.  The lines in the text can be up to 2048
  1089.        bytes long.    Only the first 2048 bytes of the file will be
  1090.        accepted by ARJ.
  1091.  
  1092.        To erase a comment from an archive, type [space] [return] on the
  1093.        first comment line and [return] on the second comment line.
  1094.  
  1095.        To strip archive or file comments from an archive, you can use
  1096.        the NUL file feature of MS-DOS.
  1097.  
  1098.        Examples:  ARJ c archive -zNUL       strips archive comment
  1099.               ARJ c archive name -jzNUL    strips comment for "name"
  1100.               ARJ c archive -jzNUL       strips all file comments
  1101.               ARJ c archive -zNUL -jzNUL   strips all comments
  1102.  
  1103.        To add only the archive comment and not file comments, use the
  1104.        following command:
  1105.  
  1106.        ARJ c archive -z
  1107.  
  1108.        To add only the archive comment at the command line, use the
  1109.        following command:
  1110.  
  1111.        ARJ c archive -zcomment.txt
  1112.  
  1113.        You may also comment an archive with the "a", "f", "m", "u"
  1114.        commands.
  1115.  
  1116.        ARJ a -zcomment.txt archive *.txt
  1117.  
  1118.     d: Delete files from archive
  1119.  
  1120.        This command allows you to delete files from the archive.  When
  1121.        wildcard selection is not suitable, you can use the "-q" switch
  1122.        to set ARJ to prompt you for deletion for each file selected.
  1123.        These deleted files are physically removed from the archive.
  1124.  
  1125.        Example:  ARJ d archive *.c
  1126.              Delete all files in archive ending in ".c".
  1127.  
  1128.              ARJ d -q archive *.c
  1129.              Prompt before deleting each file ending in ".c".
  1130.  
  1131.        Currently, ARJ never deletes the archive even when it is empty.
  1132.  
  1133.     e: Extract files from archive
  1134.  
  1135.        This command will extract one or more files from the archive to
  1136.        the current directory or base directory if specified.  ARJ will
  1137.        prompt the user before overwriting existing files unless the
  1138.        user specifies the "-y" switch.  If the user gives a "no"
  1139.        answer, ARJ will prompt for a new filename.    If the user enters
  1140.        a single [return] instead of a filename, ARJ will skip the
  1141.        current file extraction.
  1142.  
  1143.        Example:  ARJ e archive soft\ *.c
  1144.              Extract all files ending in ".c" to subdirectory
  1145.              "soft".
  1146.  
  1147.        When extracting a file located on multiple volumes, ARJ may
  1148.        prompt the user with an "Append? " prompt.  This will usually
  1149.        occur with files split across volumes.  You will also need to
  1150.        specify the "-v" switch to set ARJ to continue to the next
  1151.        volume of a series of volumes.  When extracting from one of a
  1152.        series of multiple volumes on a diskette, it is easier to use
  1153.        the wildcard "*.*" to specify the archive as in:
  1154.  
  1155.        ARJ e archive A:*.* filespecs
  1156.  
  1157.        If you wish to extract only a portion of an archive and that
  1158.        portion is a directory containing directories, you should use
  1159.        the "-p1" switch.  See the "-p" switch for more information.
  1160.  
  1161.        The ARJ e and ARJ x commands now accept the "-d" option to
  1162.        provide an extract and delete option.  This feature requires
  1163.        that you specify the files to extract and delete.  ARJ will NOT
  1164.        default to "*.*" for this option.  This option actually uses
  1165.        more disk space than a simple extraction because of the
  1166.        temporary archive that is created during the extraction process.
  1167.  
  1168.        ARJ e archive -d file1 file2
  1169.  
  1170.        If ARJ encounters a disk full during extraction, ARJ will abort
  1171.        with an error.  You can bypass the abort by using the "-jd"
  1172.        option.  Refer to the description of "-jd" for more information.
  1173.  
  1174.        If ARJ encounters a CRC or Bad file data error during
  1175.        extraction, ARJ will delete the corrupted extracted file unless
  1176.        the "-jr" option is used.
  1177.  
  1178.     f: Freshen files in archive
  1179.  
  1180.        Update matching files in the archive that are OLDER than the
  1181.        selected disk files.
  1182.  
  1183.        Example:  arj f archive *.c *.h
  1184.  
  1185.        In freshening archives, you should use the same filename
  1186.        specifications that you used to create the archive.
  1187.  
  1188.        Example:  arj a archive \temp\ *.* -r
  1189.              arj f archive \temp\ *.* -r
  1190.  
  1191.        If no files or comments have been added to the archive, ARJ
  1192.        will not rewrite the archive at ARJ 2.20 and above.
  1193.  
  1194.     g: Garble files in archive
  1195.  
  1196.        The ARJ "g" command allows a user to garble an already built ARJ
  1197.        archive.  Please note that only ungarbled files will be garbled
  1198.        by the ARJ "g" command.
  1199.  
  1200.        Example:  ARJ g archive -gdinosaur
  1201.  
  1202.     i: check Integrity of ARJ.EXE
  1203.  
  1204.        The "i" command allows the user to check the integrity of the
  1205.        ARJ.EXE program.  ARJ will report "CRC ERROR!" if the tested ARJ
  1206.        program does not pass its integrity check.  This indicates that
  1207.        the program is probably corrupted.  Please note that the "i"
  1208.        command should not be used on a compressed ARJ executable
  1209.        (DIETed, LZEXEd, etc.), since the "i" command will then ALWAYS
  1210.        report a CRC error.    If the program name is not specified, then
  1211.        ARJ will check the current program being executed.
  1212.  
  1213.        Syntax:  ARJ i ARJ.EXE
  1214.             ARJ i         at DOS 3.0 and up
  1215.  
  1216.     j: Join archives to archive
  1217.  
  1218.        The "j" command allows the user to merge several ARJ archives.
  1219.  
  1220.        Syntax:  ARJ j archive archive1.arj archive2.arj
  1221.             ARJ j archive *.arj -r
  1222.  
  1223.        Some switches NOT supported by the "j" command are:    -o, -ob,
  1224.        -f, -u, -c, -v.  Note that there is no error message displayed
  1225.        by ARJ when using an unsupported switch with the "j" command.
  1226.  
  1227.        The "-d" option IS supported by the "j" command.
  1228.  
  1229.        Note that switches that do work like "-x" select the archives to
  1230.        be merged and NOT the contents of the archives.
  1231.  
  1232.        This command can be used to convert an SFX module to a regular
  1233.        ARJ archive.
  1234.  
  1235.        Example:  ARJ j new_name arjsfx.exe
  1236.  
  1237.     k: pacK bacKup files in archive
  1238.  
  1239.        The ARJ k command works similar to the ARJ d command except that
  1240.        the ARJ k command only deletes files marked as backups.  The ARJ
  1241.        k command requires a wildname or filespec as a selection option.
  1242.  
  1243.        Examples:  ARJ k archive *.*
  1244.               ARJ k archive *.doc -q
  1245.  
  1246.     l: List contents of archive
  1247.  
  1248.        List contents of archive to standard output.  The display can be
  1249.        paused after each screenful with the "-jp" switch.  The files
  1250.        are listed in stored order.    There are no sort options
  1251.        currently.
  1252.  
  1253.        The last field on the display BTPMGVX stands for:
  1254.            B -> file has been marked as a backup
  1255.            T -> text/binary/directory type
  1256.            P -> path information available in "V" listing
  1257.            M -> compression method used
  1258.            G -> file has been garbled (encrypted)
  1259.            V -> archive has been continued to another volume
  1260.            X -> this file is an extended portion of a larger file
  1261.  
  1262.        Example:  arj l archive *.c *.h
  1263.  
  1264.        A "+" sign preceding the date-time field indicates that the date
  1265.        is a 21st century date (20nn).
  1266.  
  1267.        For text mode compression, the original file size reported by
  1268.        the "l" and "v" commands is the actual number of bytes input.
  1269.        This is usually the MS-DOS file size minus the number of
  1270.        carriage returns in the file, since C text mode strips a file of
  1271.        carriage returns.
  1272.  
  1273.        When ARJ has detected a set backup flag in an archive, there
  1274.        will be a message "[Backups ON]".  When ARJ has detected any
  1275.        backup files in an archive, there will be a message
  1276.        "[Backups found]".
  1277.  
  1278.        To indicate that files are marked as backups, ARJ will display
  1279.        a "*" in the column right after the file attributes.
  1280.  
  1281.        The "-jg" option is needed to set the "l" and "v" commands to
  1282.        display the names of backup files.
  1283.  
  1284.        Example:  ARJ l archive -jg
  1285.  
  1286.     m: Move files to archive
  1287.  
  1288.        This command is similar to specifying the "a" command with the
  1289.        "-d" switch.  The "m" commands adds the selected files to the
  1290.        archive.  If the adds are successful, then the added files are
  1291.        deleted.  The move command does not ask permission before
  1292.        deleting the files.    Use the "ARJ a -d" command for that
  1293.        feature.
  1294.  
  1295.        Example:  ARJ m archive soft\*.*
  1296.  
  1297.        The "m" command when used with "-f" and "-u" will delete any
  1298.        successfully added files as well as any files that are already
  1299.        up to date in the archive.  It is STRONGLY suggested that you
  1300.        always use the "-jt" option with move commands to set ARJ to
  1301.        verify the archive before deleting the input files.
  1302.  
  1303.        At ARJ 2.30, ARJ will also attempt to delete any directories
  1304.        that are added to the archive.  Directories can ONLY be selected
  1305.        by using the "-a1" option.  Directories with UNSELECTED files
  1306.        will not be deleted.
  1307.  
  1308.        Example:  ARJ m archive -a1 soft\*.* soft   deletes soft
  1309.              ARJ m archive -a1 soft\*.*        doesn't delete soft
  1310.  
  1311.     n: reName files in archive
  1312.  
  1313.        This command allows you to change the names of the files stored
  1314.        in an ARJ archive.  ARJ will prompt for the new name of each
  1315.        selected file.  You can skip changing the name of a particular
  1316.        file by entering a blank line.
  1317.  
  1318.        Example:  ARJ n archive *.c
  1319.  
  1320.        In the above example, ARJ prompts for new names for all *.c
  1321.        files.
  1322.  
  1323.     o: Order files in archive
  1324.  
  1325.        This command allows you to re-order the files within the
  1326.        archive.  You may specify the order of files on the command line
  1327.        or you can use one or more list files.  Any files in the archive
  1328.        that are not specified on the command line or in a list file
  1329.        will be placed at the end of the archive in the same relative
  1330.        order that they were originally.  No wildcard names can be used
  1331.        as order specifications.  The filenames in the list file must be
  1332.        entered one per line.
  1333.  
  1334.        Example:  ARJ o archive file1 file2 file3
  1335.  
  1336.        In the above example, the files "file1", "file2", and "file3"
  1337.        will be ordered first in the archive.  Any remaining files will
  1338.        follow those.
  1339.  
  1340.        Example:  ARJ o archive !list
  1341.  
  1342.        In the above example, the archive will be ordered according to
  1343.        the order of the names in the file "list".
  1344.  
  1345.        IMPORTANT:  For the "o"rder command, the list file option has
  1346.        one special feature.  If the list file is named ARJSORT.$$$, ARJ
  1347.        will expect the file to have been built with the ARJ v -jv1
  1348.        command.  This ARJSORT.$$$ list file may be specified with a
  1349.        pathspec.  See the ARJSORT.BAT batch file for an example of this
  1350.        special feature.
  1351.  
  1352.        To facilitate building list files, the "v" command in ARJ will
  1353.        produce special outputs with the "-jv" switch and the "-jv1"
  1354.        switch.
  1355.  
  1356.        The "-jv" switch will display only the pathnames stored within
  1357.        the archive.  No other listing data is displayed.  This output
  1358.        can be re-directed to a file for manual sorting into a list
  1359.        file.
  1360.  
  1361.        The "-jv1" switch will display the standard verbose display with
  1362.        a few modifications.  No sequential number field will be
  1363.        displayed.  No comment field will be displayed.  The pathname is
  1364.        appended to the archive file description data instead of being
  1365.        on a separate line.    Displayed just before the pathname field
  1366.        are the file extension and filename.  These fields are available
  1367.        so that the user can sort the text lines by date-time, file
  1368.        extension, CRC value, etc.  Text editors like Qedit and SLED
  1369.        allow the user to sort text lines via an embedded text field.
  1370.  
  1371.        At ARJ 2.20 and above, you cannot "o"rder a multiple volume
  1372.        archive and should not.
  1373.  
  1374.     p: Print files to standard output
  1375.  
  1376.        Output files to standard output.  This function works such that
  1377.        the output file will contain only the file data extracted.  This
  1378.        is important for UNIX-like usage.
  1379.  
  1380.        Example:  ARJ p archive manual.doc > output.fil
  1381.  
  1382.        In the above example, output.fil will be an exact copy of
  1383.        manual.doc.    There will be no extraneous header information in
  1384.        output.fil.    All extraction phase information is written to the
  1385.        STDERR device, which is normally the display screen.
  1386.  
  1387.        Example:  ARJ p archive manual.doc > LPT1
  1388.  
  1389.        In the above example, the standard output is redirected to the
  1390.        printer device.  This does not involve any intermediate disk
  1391.        files.  However, when redirecting to the printer, ARJ will
  1392.        translate binary files to text, causing possible loss of data.
  1393.        The ARJ command "ARJ e archive manual.doc -jwLPT1" will output a
  1394.        binary file to the printer without loss of data.
  1395.  
  1396.        ARJ sets the file date-time stamp of the output stream.  File
  1397.        viewing as in ARJ p archive name | LIST /s will display the
  1398.        correct file date and time.
  1399.  
  1400.        The "-jp" option can be used to pause the screen output as in the
  1401.        "s" command.  The "-jv" option will allow the display of IBM
  1402.        graphics characters with the "-jp" option.
  1403.  
  1404.        NOTE:  Because of a problem using fwrite() and STDOUT, errors
  1405.        occurring during redirection to serial and printer ports may not
  1406.        be detected.  Errors during redirection to disk files will be
  1407.        detected.
  1408.  
  1409.     r: Remove paths from filenames
  1410.  
  1411.        This command sets ARJ to remove the path component from the
  1412.        specified filenames stored in the archive.  The default is all
  1413.        filenames stored in the archive.  This command is useful if you
  1414.        forgot to specify "-e" to exclude paths.
  1415.  
  1416.     s: Sample files to screen with pause
  1417.  
  1418.        This command is similar to the "p" command except that one
  1419.        screenful of data is displayed to the user and a user action is
  1420.        then requested.  The action prompt can be suppressed with the
  1421.        "-y" switch.
  1422.  
  1423.        The "s" command filters the text to output by truncating at 79
  1424.        characters per line and displaying '?' for control characters.
  1425.        The "-jv" option will allow the display of IBM graphics
  1426.        characters.
  1427.  
  1428.     t: Test integrity of archive
  1429.  
  1430.        Test the contents of the selected files for the correct CRC
  1431.        value.  ARJ uses a 32 bit CRC to validate the contents of the
  1432.        files.  The use of 32 bit CRCs is many times better than the
  1433.        use of 16 bit CRCs for the detection of errors.
  1434.  
  1435.     u: Update files to archive
  1436.  
  1437.        Update older files in the archive and add files that are new to
  1438.        the archive.
  1439.  
  1440.        Example:  arj u software
  1441.  
  1442.     v: Verbosely list contents of archive
  1443.  
  1444.        This command lists the full pathname and comments of the archive
  1445.        files as well as the same information as the "l" command.
  1446.  
  1447.        The "v" command now displays a sequence number preceding the
  1448.        pathname.  This number can be used with the "-#" option to
  1449.        access specific files within an archive.
  1450.  
  1451.        Example:  ARJ v archive -jg
  1452.              ARJ x archive -# 5 10
  1453.  
  1454.        Use the "-jp" switch to pause the output after each screen.
  1455.  
  1456.        The "-jv" switch will display only the pathnames to the screen.
  1457.  
  1458.        The "-jv1" switch will display the archive data in a manner
  1459.        suitable for sorting on various fields for use with the "o"
  1460.        command.
  1461.  
  1462.     w: Where are text strings in archive
  1463.  
  1464.        This command allows the user to search for text strings within
  1465.        archives.
  1466.  
  1467.        ARJ will prompt the user whether to ignore case when searching.
  1468.        This search option takes MS-DOS code pages into account so that
  1469.        casing of accented/umlauted characters will be done correctly.
  1470.  
  1471.        ARJ will also prompt the user for the number of lines of context
  1472.        of a match to display.  If a number greater than zero is chosen,
  1473.        ARJ will display the matched string and the surrounding context
  1474.        with all of the non-printable characters including newlines
  1475.        replaced by question marks.    The context lines displayed will be
  1476.        78 characters in length.  When the display context option is
  1477.        chosen, ARJ will inhibit the progress indicator.  If the "-jv"
  1478.        is set, IBM graphics characters (128 to 255) will be displayed.
  1479.  
  1480.        Then, this command will prompt the user for up to 20 text strings
  1481.        to search for within the archive.  A count of all matches will be
  1482.        displayed after each individual file is scanned.
  1483.  
  1484.        Search strings are limited to 79 characters.
  1485.  
  1486.        Matches that span archive volumes will not be detected by
  1487.        this string search.
  1488.  
  1489.        You can search multiple ARJ archives with a command like:
  1490.  
  1491.        ARJ w \docs\*.arj
  1492.  
  1493.        You may page pause the display with the "-jp" option.
  1494.  
  1495.        The "-jq" option can be used to supply the necessary parameters
  1496.        to the ARJ w command.
  1497.  
  1498.        The option string will be parsed as follows:
  1499.        1) the first character must be either "+" or "-" representing
  1500.           yes or no,
  1501.        2) the next character(s) represents the number of lines of
  1502.           context to display,
  1503.        3) the next character represents a non-digit separator,
  1504.        4) the next characters represent the search text.
  1505.  
  1506.        Examples:  ARJ w archive -jq+3+total    caseless search
  1507.                            display 3 context lines
  1508.                            search for "total"
  1509.               ARJ w archive "-jq-2-to be"  case sensitive search
  1510.                            display 2 context lines
  1511.                            search for "to be"
  1512.  
  1513.        You can use the "-hw" options to change the way ARJ displays
  1514.        the filenames being searched.
  1515.  
  1516.     x: eXtract files with full pathname
  1517.  
  1518.        This command extracts one or more files from the archive to
  1519.        their full paths in the current directory or to the base
  1520.        directory if specified.  ARJ normally stores pathnames as if
  1521.        they were children of the target directory.    Any drive or root
  1522.        directory specifications are stripped before extracting unless
  1523.        the "-jf" switch is specified with the "x" command.
  1524.  
  1525.        Example:  arj x archive *.c
  1526.  
  1527.        If you wish to extract only a portion of an archive and that
  1528.        portion is a directory containing directories, you should use
  1529.        the "-p1" switch.  See the "-p" switch for more information.
  1530.  
  1531.        The ARJ e and ARJ x commands now accept the "-d" option to
  1532.        provide an extract and delete option.  This feature requires
  1533.        that you specify the files to extract and delete.  ARJ will NOT
  1534.        default to "*.*" for this option.
  1535.  
  1536.        Refer to the description of the "e" command for more
  1537.        information about extraction.
  1538.  
  1539.     y: copY archive with new options
  1540.  
  1541.        The ARJ y command provides an easy interface to the -je and
  1542.        -je1 options as well as to the -jb, -jb1, and -jb2 options.
  1543.  
  1544.        Examples:  ARJ y archive -je1  convert an archive to an SFX
  1545.               ARJ y archive -jb   make an archive a backup type
  1546.               ARJ y archive -jb1  reset the backup flag
  1547.               ARJ y archive -jb2  unmark all backup files
  1548.  
  1549.  
  1550.      ARJ SWITCH OPTIONS:
  1551.  
  1552.     ?: Display full help screens
  1553.  
  1554.        The command "ARJ -?" displays several screens of help
  1555.        information with page pauses.  The command "ARJ -? -jp" displays
  1556.        the help screens without page pauses.  You can also redirect the
  1557.        output to a file as in:
  1558.  
  1559.        ARJ -? > help.txt
  1560.  
  1561.        ARJ may not detect network file redirection and will pause per
  1562.        screenful.
  1563.  
  1564.     -: skip any more switch options
  1565.  
  1566.        The switch option "--" will cause ARJ to stop looking for any
  1567.        more switch options on the command line.  This is useful for
  1568.        entering filenames beginning with "-".
  1569.  
  1570.        Example:  ARJ a archive -- -file
  1571.  
  1572.     +: inhibit ARJ_SW usage
  1573.  
  1574.        The switch option "-+" will inhibit ARJ from using the value of
  1575.        the ARJ_SW variable in ARJ switch processing.
  1576.  
  1577.        Example:  ARJ a archive -+ *.*
  1578.  
  1579.        The "-+" option can now be used to specify an environment variable
  1580.        name to use in place of the default "ARJ_SW".  This option can only
  1581.        be used on the command line.
  1582.  
  1583.        Example:  ARJ a archive -+ARJ_SW2
  1584.  
  1585.     &: install critical error handler
  1586.  
  1587.        By default, ARJ sets up a default interactive critical error
  1588.        handler to handle errors like "sector not found" and "drive not
  1589.        ready".  The user has the option of retrying the failed
  1590.        operation.  The user can press Control BREAK to abort to DOS.
  1591.  
  1592.        The "-&" option sets ARJ to install a non-interactive critical
  1593.        error handler.  This is designed for unattended ARJ use.  This
  1594.        handler will intercept errors that produce the "Abort, Retry ..."
  1595.        error messages like bad sector errors and file sharing
  1596.        violations.    It can be specified on the command line or via the
  1597.        environment variable.  Please note that if you specify "-&" on
  1598.        the command line, the handler is installed immediately before any
  1599.        files are processed.  If you specify "-&" in the environment, ARJ
  1600.        will not install the handler until all switches are processed.
  1601.  
  1602.     !: set list char
  1603.  
  1604.        This option allows the user to set the character used for list
  1605.        files.  The option "-!" with no specified character toggles
  1606.        (turns off) the current list file character (default "!").
  1607.  
  1608.        Syntax:  ARJ a archive -!@ @list.fil
  1609.             ARJ a archive -! !.bat
  1610.  
  1611.        The first example above sets the list file character to the one
  1612.        used by LHA and PKZIP.
  1613.  
  1614.     $: add/extract volume label
  1615.  
  1616.        This option allows the user to store or extract DOS volume
  1617.        labels in ARJ archives.  It is possible to have multiple labels
  1618.        in one archive.  At ARJ 2.10 and above, you can only add or
  1619.        extract volumes labels at DOS 2.0 and above.  The "-$" option
  1620.        may be specified with or without a drive specification.  The
  1621.        drive can be specified by appending the letter and optionally
  1622.        the ":" to "-$".  If none is specified, ARJ assumes the current
  1623.        drive unless a specified target base directory has a drive
  1624.        specification.
  1625.  
  1626.        WARNING:  Currently, ARJ allows more than one volume label and
  1627.        duplicate volume labels in the same archive.  You can delete one
  1628.        or more duplicate labels with the "ARJ d -q archive label"
  1629.        command.  ARJ will query you on each occurrence of "label".
  1630.        This "faulty" mechanism allows a file and label of the same name
  1631.        to be added to an archive.  The capability of having duplicate
  1632.        labels in the same archive MAY NOT be present in future versions
  1633.        of ARJ.
  1634.  
  1635.        The SFX and SFXJR modules DO NOT support volume label extraction!
  1636.  
  1637.        On the list screen, volume labels will be indicated by the "V"
  1638.        under the "T" column.
  1639.  
  1640.        Syntax:  ARJ a archive -$           add all files and the label
  1641.                            of the current drive.
  1642.             ARJ a archive ... -$B      add only the label of drive B
  1643.             ARJ a archive ... -$B:     add only the label of drive B
  1644.             ARJ u archive ... -$B:     add only the label of drive B
  1645.  
  1646.        To extract volume labels, you must select the label by setting
  1647.        "-$" and specifying a matching wildname/filename.
  1648.  
  1649.        Syntax:  ARJ e archive doslabel -$  extract the label named
  1650.                            doslabel to the current drive.
  1651.             ARJ e archive -$D:           extract all files to the
  1652.                            current drive and extract the
  1653.                            label to drive D:.
  1654.             ARJ e archive label B:\ -$ extract all files to B:\ and
  1655.                            the label to drive B.
  1656.  
  1657.        ARJ will display all labels over 8 characters with a "." in it
  1658.        like a normal DOS filename.    However, ARJ will not restore this
  1659.        extra "." when extracting.  ARJ will only create standard
  1660.        uppercase DOS volume labels.
  1661.  
  1662.        Volume labels created by utilities other than standard DOS
  1663.        commands like LABEL and FORMAT may cause label access problems
  1664.        for ARJ.  For example, Norton's VL.EXE can create labels with
  1665.        lowercase letters.  You will need to use LABEL.COM to delete
  1666.        these labels in order to let ARJ set a new label.  Programs that
  1667.        delete unusual labels must do absolute writes to disk or use a
  1668.        wildcard ("*.*") delete of files with the label attribute in the
  1669.        root directory.  A single bit corruption in the program can
  1670.        result in the deletion of ALL files in the root.  ARJ currently
  1671.        chooses not to take that risk.
  1672.  
  1673.     #: select files by order number
  1674.  
  1675.        The "-#" option allows the user to select files from an archive
  1676.        by their order number in the archive.  For example, the number 1
  1677.        selects the first file in the archive.  This option is useful in
  1678.        selecting files where there are duplicates in the archive.  It
  1679.        is also useful for batch type utilities that need to extract
  1680.        files sequentially from an archive for processing.  Archive menu
  1681.        programs should find this option very useful in processing
  1682.        archives with duplicate filenames.
  1683.  
  1684.        You can specify a series of files with the n1-n8 type syntax.
  1685.        No embedded spaces are allowed.
  1686.  
  1687.        ARJ e archive -# 1 4 12-25 40-100
  1688.  
  1689.        NOTE that the order number starts from 1 for each individual
  1690.        archive including multiple volume archives.    In other words, the
  1691.        first file in archive.a04 is number 1.
  1692.  
  1693.        Do NOT mix filenames with the numbers other than the base
  1694.        directory.
  1695.  
  1696.        Example:  ARJ e -# archive basedir\ 1 3 5 20 21
  1697.  
  1698.     a: allow any file Attribute
  1699.  
  1700.        By default ARJ will not select system or hidden files via
  1701.        wildcarding unless the "-a" option is specified.
  1702.  
  1703.        The "-a1" switch sets ARJ to add any directories in the selected
  1704.        set of matching filespecs to the archive being built.  This
  1705.        switch also selects hidden and system files as in the "-a"
  1706.        switch.  Even empty directories will be added.  The "l" command
  1707.        will display such directories with a "D" under the "T" (file
  1708.        type) header.
  1709.  
  1710.        Older releases of ARJ will skip over empty directory entries.
  1711.        The ARJSFX and ARJSFXJR modules CAN process empty directory
  1712.        entries.
  1713.  
  1714.        This option is useful for saving software directories with
  1715.        needed empty directories.
  1716.  
  1717.     b: Backup changed files
  1718.  
  1719.        The "-b" switch will select only files that have the archive bit
  1720.        set.
  1721.  
  1722.        If you specify the "-b1" option, files with the archive bit set
  1723.        will be selected and the archive bits of all archived files will
  1724.        be reset after a successful archive has been built.
  1725.  
  1726.        Example:  arj a a:backup1 c:\*.* -b1 -r -va     simulates BACKUP
  1727.        command.
  1728.  
  1729.        The "-b2" switch does NOT select files.  It causes ARJ to reset
  1730.        the archive bits of added files.  If the "-f" or "-u" option has
  1731.        been selected, ARJ will reset the archive bits of files that are
  1732.        already duplicated in the archive.
  1733.  
  1734.        Example:  arj a e:archive c:\*.* -b2 -r    archives all files on
  1735.        the C drive and resets all archive bits.
  1736.  
  1737.        The "-b3" switch is used to reset the archive bits of files
  1738.        being extracted.  It is useful for setting the archive state so
  1739.        that a subsequent incremental backup will not backup these
  1740.        extracted files.
  1741.  
  1742.     c: skip time-stamp Check
  1743.  
  1744.        Normally with the "u" and "f" commands, ARJ will only update
  1745.        newer files to an archiver.    The "-c" switch will set ARJ to
  1746.        update the archive regardless of the date-time modified time
  1747.        stamps.
  1748.  
  1749.        When extracting files from an archive with the "-y" and "-f"
  1750.        switches set, ARJ would normally skip extracting older files.
  1751.        The "-c" switch will set ARJ to extract these older files.
  1752.  
  1753.     d: with Delete (move)
  1754.  
  1755.        This switch provides the standard MOVE command.  Successfully
  1756.        added files will be deleted.  When used with the "-f" or "-u"
  1757.        option, ARJ will also delete files that are already duplicated
  1758.        in the archive.  ARJ will prompt the user before deleting the
  1759.        files unless the "-y" switch is specified.  Also, you can use
  1760.        the "m" command which does not prompt before deleting the files.
  1761.        At ARJ 2.30, when using the "-a1" to specify the selection of
  1762.        directories, ARJ will also delete the selected directories.
  1763.  
  1764.        ARJ a archive filename -d -y       is equivalent to
  1765.  
  1766.        ARJ m archive filename          and
  1767.  
  1768.        ARJ a archive filename
  1769.        delete filename
  1770.  
  1771.        The ARJ e and ARJ x commands now accept the "-d" option to
  1772.        provide an extract and delete option.  This feature requires
  1773.        that you specify the files to extract and delete.
  1774.  
  1775.        ARJ e archive -d file1 file2
  1776.  
  1777.     e: Exclude paths from filenames
  1778.  
  1779.        By default ARJ always stores the pathname of the archived file.
  1780.        This switch will set ARJ to store only the filename component.
  1781.  
  1782.        The "-e1" switch option sets ARJ to NOT store the base directory
  1783.        name with the filenames in the archive.
  1784.  
  1785.        Example:  ARJ a archive C:\SOFTWARE\ARJ\ *.* -r -e1
  1786.  
  1787.        In the above example, ARJ will NOT store the C:\SOFTWARE\ARJ\ as
  1788.        part of the filenames.
  1789.  
  1790.        When updating files within an archive, ARJ uses the full
  1791.        pathname to match against the full name of the selected files.
  1792.        The "-e" and "-e1" option affect this exact matching.  If "-e"
  1793.        is specified, only the filespecs of the selected files will be
  1794.        matched against the full pathname of the files in the archive.
  1795.        If "-e1" is specified, the full pathname minus the base
  1796.        directory of the selected files is used to match against the
  1797.        full pathname of the files in the archive.
  1798.  
  1799.        In other words, ARJ will only update a file within an archive if
  1800.        the name of the new file as stored in the archive would be
  1801.        identical to the name of the original file stored in the
  1802.        archive.
  1803.  
  1804.     f: Freshen existing files
  1805.  
  1806.        This switch used with the "e" or "x" commands sets ARJ to only
  1807.        extract newer files from the archive.
  1808.  
  1809.        This switch used with the "m" command sets ARJ to update only
  1810.        input files with newer dates than the ones in the archive.
  1811.        After the archive has been updated, all updated selected files
  1812.        and all up to date selected files will be deleted.
  1813.  
  1814.        The ARJ m -f command is very similar to the LHARC m command.
  1815.  
  1816.     g: Garble with password
  1817.  
  1818.        This switch followed by a password "-gpassword" will encrypt or
  1819.        decrypt an archived file.  During a "l" or "v" command, a
  1820.        garbled file will display a "G" after the method number.
  1821.  
  1822.        Example:  ARJ e archive -gpassword
  1823.  
  1824.        If the "-g" option is followed by a question mark "?", ARJ will
  1825.        prompt the user for the password without displaying the password
  1826.        input.  The backspace key can be used to erase characters.
  1827.  
  1828.        Example:  ARJ a archive -g?
  1829.  
  1830.        Using the wrong password during extraction will result in a
  1831.        "Bad file data" or "CRC error" error message.
  1832.  
  1833.     i: with no progress Indicator
  1834.  
  1835.        Do not display the percentage progress indicator.  The progress
  1836.        indicator appears during the add, extract, search, and test
  1837.        operations.
  1838.  
  1839.        The "-i1" option provides a bar type graphical progress
  1840.        indicator for the compression, extraction, and testing type
  1841.        commands of ARJ.  This provides an alternative to the simple
  1842.        numeric increasing percentage progress indicator.
  1843.  
  1844.        The "-i2" option provides a combined percentage and bar progress
  1845.        display.
  1846.  
  1847.     j: selects alternate set of switch characters.
  1848.  
  1849.        This switch toggles the set of switch characters.  The toggle is
  1850.        reset at end at of each separate switch sequence back to the
  1851.        main set of switch characters.
  1852.  
  1853.        For example, "-ja" is not the same function as "-a".  However,
  1854.        "-jja" is the same as "-a" because of the double toggle.  Also,
  1855.        "-jaje" is NOT the same as "-ja -je".  The switch sequence
  1856.        "-jae" is the same as "-ja -je".
  1857.  
  1858.     k: Keep a .BAK of ARJ archive
  1859.  
  1860.        Create a ".BAK" of the original archive file during an update.
  1861.        The original archive will be suffixed with ".BAK".  Any existing
  1862.        ".BAK" file will be overwritten.
  1863.  
  1864.        This has no relation to "backup type" ARJ archives.
  1865.  
  1866.     l: create List_name file
  1867.  
  1868.        This switch will set ARJ to dump to the filename specified after
  1869.        the "-l" switch all of the filenames to be processed by this ARJ
  1870.        command.  For add type commands, this list contains all files
  1871.        that matched the file wildnames given on the command line.  For
  1872.        other commands, the file will contain only the original
  1873.        filenames and/or wildcard names.  Other options do NOT affect
  1874.        the output of filenames to this list file.  To get an index file
  1875.        for backup purposes, use the "-ji" option.
  1876.  
  1877.        This list file can be used as a listfile on the command line.
  1878.  
  1879.        Example:  ARJ a -lname.lst archive *.exe
  1880.  
  1881.        This example will create a file named "name.lst" with all *.exe
  1882.        files.
  1883.  
  1884.     m: with Method 0, 1, 2, 3, 4
  1885.  
  1886.        Method 0 = storing    (no compression)
  1887.        Method 1 = best compression for general use
  1888.                 (default compression method)
  1889.                 (requires 300,000 plus bytes memory)
  1890.        Method 2 = slightly less compression and faster
  1891.                 (requires 282,000 plus bytes memory)
  1892.        Method 3 = less compression and less memory and faster
  1893.                 (requires 250,000 plus bytes memory)
  1894.        Method 4 = fastest compression
  1895.                 (requires 235,000 plus bytes memory)
  1896.  
  1897.        Example:  ARJ a archive *.exe -m2
  1898.  
  1899.        The "-jm" option will usually improve the size reduction of
  1900.        methods 1 and 2 at the cost of speed and memory.  The behavior
  1901.        of "-jm" with -m3 and -m4 is UNDEFINED.
  1902.  
  1903.        Method 4 uses a different decoder than 1 to 3.  Method 4 is
  1904.        almost twice as fast as method 1.
  1905.  
  1906.        During extraction, ARJ uses less memory than during compression.
  1907.        See the section on ARJ LIMITATIONS for more memory usage
  1908.        information.
  1909.  
  1910.     n: only New files (not exist)
  1911.  
  1912.        With the "e" or "x" commands, extract files that do not exist in
  1913.        the target directory.
  1914.  
  1915.        With the "a" or "m" commands, archive files that do not exist in
  1916.        the target archive.
  1917.  
  1918.     o: On or after date YYMMDDHHMMSS
  1919.  
  1920.        The switch "-o" by itself means select files modified today.  If
  1921.        "-o" is followed by a date and optionally a time, ARJ will only
  1922.        select files modified on or after that date-time.
  1923.  
  1924.        Example:  ARJ a test -o9001021700    means select files modified
  1925.        on or after Jan 2, 1990, 5:00 PM.
  1926.  
  1927.        Years less than "80" will be considered as 21st century years.
  1928.  
  1929.        There is no option for using other date-time formats.
  1930.  
  1931.        The switch "-ob" selects files modified before today.  If "-ob"
  1932.        is followed by a date and optionally a time, ARJ will only
  1933.        select files modified before that date-time.
  1934.  
  1935.        ARJ now accepts the use of "-o" and "-ob" options simultaneously
  1936.        to specify a range of selected dates.  This is useful for
  1937.        selecting files on a specific date.
  1938.  
  1939.        Example:  ARJ a archive *.* -o910101 -ob910102
  1940.  
  1941.        The "-o" option and/or the "-ob" option will default to today's
  1942.        date at midnight (0000 hrs) when specified without dates.
  1943.  
  1944.        The "-od" switch sets ARJ to select files no older than the
  1945.        specified number of days.  The days are calculated from
  1946.        midnight.
  1947.  
  1948.        Examples:  ARJ a archive -od0    select files modified today
  1949.               ARJ a archive -od1    select files modified yesterday
  1950.                         and today
  1951.  
  1952.     p: match using full Pathnames
  1953.  
  1954.        When "-p" is specified, ARJ looks for an exact pathname match.
  1955.        This can be modified by the "-e" option.
  1956.  
  1957.        For non-update commands and specified filenames with paths, ARJ
  1958.        will match the full path with or without the "-p" switch.
  1959.  
  1960.        To match directory paths that contain subdirectories, you should
  1961.        use the "-p1" switch.  This switch sets ARJ to match only the
  1962.        initial portion of the pathnames against the wildnames
  1963.        specified.  For example, if your archive contains the TURBOC++
  1964.        directory named TC and you wish to extract the INCLUDE
  1965.        subdirectory along with the subdirectory INCLUDE\SYS, you can
  1966.        use the following command:
  1967.  
  1968.        ARJ e archive TC\INCLUDE\*.* -p1
  1969.  
  1970.        If you wanted to extract all of the INCLUDE\S*.* files including
  1971.        the contents of the SYS subdirectory, you can use the following
  1972.        command:
  1973.  
  1974.        ARJ e archive TC\INCLUDE\S*.* -p1
  1975.  
  1976.     q: Query on each file
  1977.  
  1978.        This switch causes ARJ to prompt the user prior to acting upon
  1979.        each archived file for all but the "j", "l", "t", "v", and "w"
  1980.        commands.  This allows you selectively to delete, add, etc.
  1981.  
  1982.     r: Recurse subdirectories
  1983.  
  1984.        This switch will set ARJ to recurse any wildcards specified on
  1985.        the command line including ARJ archive filenames by traversing
  1986.        all subdirectories scanning for matches.
  1987.  
  1988.        ARJ will also recurse non-wildcard filenames as in:
  1989.        ARJ a archive FILE.BBS -r
  1990.  
  1991.     s: set archive time-Stamp
  1992.  
  1993.        This switch causes ARJ to set the date-time stamp of the archive
  1994.        to that of the newest file in the archive.
  1995.  
  1996.        This option will also work with non-update commands as in:
  1997.        ARJ l archive -s ...
  1998.  
  1999.        The "-s1" switch is used to keep the old archive date-time
  2000.        stamp.  The new archive will have the same timestamp as the
  2001.        original archive.
  2002.  
  2003.        The "-s2" switch is like the "-s" switch except that it only
  2004.        works for archive modification commands.  This makes it more
  2005.        suitable for use in the ARJ_SW environment variable.
  2006.  
  2007.     t: set file Type
  2008.  
  2009.        This switch causes ARJ to open and read the file to be archived
  2010.        in binary or text mode.  The default is binary mode (-t0).  To
  2011.        archive in text mode, use the -t1 switch.  The "-t" switch is
  2012.        equivalent to "-t0".
  2013.  
  2014.        If you specify the switch "-t0", ARJ will always use the binary
  2015.        mode even for freshening text mode files already in the archive.
  2016.  
  2017.        The file type "text" is only needed for future cross platform
  2018.        transfers of ARJ archives.  It enables ARJ to extract text files
  2019.        to the host file system with the text newline sequence that is
  2020.        correct for that operating system.
  2021.  
  2022.        However, this mode may produce slightly better size reduction.
  2023.        The "-t1" option combined with "-jh65000" can produce some of
  2024.        the best size reduction numbers.  Extraction of files compressed
  2025.        in text mode is slower than the extraction of binary files.
  2026.  
  2027.        You should NOT use the "-t1" switch while archiving in multiple
  2028.        volume mode.
  2029.  
  2030.        DO NOT use the text mode on non-text files!!!  On non-text files
  2031.        ARJ will prematurely stop input if it finds an embedded EOF
  2032.        character (CTL Z).  This will produce a LOSS of data on binary
  2033.        files.  As of ARJ 2.30 and UNARJ 2.30, ARJ will extract text
  2034.        mode data in 8-bit format when extracted to the original type of
  2035.        platform.  Only when the text file is extracted to a different
  2036.        type of platform will the 8-bit text be stripped to 7-bit text.
  2037.  
  2038.        In "-t1" text mode, ARJ will look at the first 4096 bytes of the
  2039.        input file looking for non-text characters.    In "-t1g" text with
  2040.        graphics mode, ARJ will look at the first 4096 bytes of the
  2041.        input file looking for too many byte values over hex 7F.  If ARJ
  2042.        finds either condition it will automatically backtrack and
  2043.        switch to "-t0" (default) binary mode for that particular file.
  2044.        In addition at the end of compressing the input file, if ARJ
  2045.        finds that the input file size is not greater than 80 percent of
  2046.        the binary file size (size on disk), ARJ will backtrack and
  2047.        re-archive that file in binary mode.  This should help to avoid
  2048.        the problem of accidentally compressing executable files with
  2049.        the "-t1" option which results in lost data.  These tests are
  2050.        not foolproof.
  2051.  
  2052.        The original file size reported by the "l" and "v" commands is
  2053.        the actual number of bytes input during text mode compression.
  2054.        This is usually the MS-DOS file size minus the number of
  2055.        carriage returns in the file, since C text mode strips a file of
  2056.        carriage returns.  There can be problems with the file size
  2057.        because compressing in TEXT mode can be LOSSY (unnecessary
  2058.        characters may be lost).  This can cause problems for some
  2059.        archive conversion programs that check file sizes.
  2060.  
  2061.        The "-t" option has been modified to allow setting file type by
  2062.        suffix similar to "-js" option.  If you want to set the file type
  2063.        to text mode for .ASM and .C files, you would specify the option
  2064.        "-t1.asm.c".
  2065.  
  2066.        ARJ a archive *.* -t1.asm.c.h.doc
  2067.        ARJ a archive *.* -t1g.txt.doc
  2068.  
  2069.        Note that in the switch sequence "-t1f -t1f.doc.asm", the second
  2070.        switch does not override the first switch which specifies that
  2071.        all files are to archived in text mode.
  2072.  
  2073.        If you want to specify the binary file type by suffix, you must
  2074.        specify the default file type to text and then specify the type
  2075.        by suffix, because the default file type is normally binary.
  2076.  
  2077.        ARJ a archive *.* -t1 -t0.com.exe.obj
  2078.  
  2079.        Because of the way ARJ checks all files to be archived in text
  2080.        mode, some true text files will not pass the test.  In this
  2081.        case, you can specify the "f" modifier to force text mode.  This
  2082.        modifier can be combined with the "-t1." suffix option.  The "f"
  2083.        modifier must follow the "g" modifier if any.
  2084.  
  2085.        ARJ a archive *.bat -t1f
  2086.        ARJ a archive *.txt -t1gf
  2087.        ARJ a archive *.* -t1f.bat.asm.doc
  2088.  
  2089.        One trick that you can do with the -t1 option is to convert UNIX
  2090.        text files to MS-DOS text files.  If you have extracted the
  2091.        files out of the ZOO 2.10 archive and need to convert the
  2092.        linefeeds to carriage return/linefeed, you can use the following
  2093.        commands:
  2094.  
  2095.        ARJ a archive *.* -m0 -t1
  2096.        ARJ e archive *.* -y
  2097.  
  2098.     u: Update files (new and newer)
  2099.  
  2100.        This switch used with the "e" and "x" commands causes ARJ to
  2101.        extract newer and non-existing files.
  2102.  
  2103.        This switch used with the "m" command causes ARJ to update only
  2104.        input files with newer dates than the ones in the archive and
  2105.        add new files to the archive.  After the archive has been
  2106.        updated, all added files and updated selected files and all up
  2107.        to date selected files will be deleted.
  2108.  
  2109.     v: enable multiple Volumes
  2110.  
  2111.        This switch is required to put ARJ into multiple volume mode.
  2112.  
  2113.        This switch allows the creation of multiple volumes in the ADD
  2114.        mode.  The command "arj a a:arjvol \*.* -b -r -v360000" allows a
  2115.        user to backup up all files changed since the last backup to
  2116.        multiple floppy disks.  ARJ will pause between volumes to allow
  2117.        changing disks.  Subsequent volumes will be suffixed .A01, .A02,
  2118.        .A03, ... , .A99, .A00, .A01, etc.  You can start the volume
  2119.        series at .A01 by specifying the full name of the starting
  2120.        archive as "name.A01".
  2121.  
  2122.        After the pause to change diskettes, ARJ will check to make sure
  2123.        that the diskette has been changed.    However, this check is
  2124.        limited to 3 retries for the same volume.
  2125.  
  2126.        ARJ normally only creates volumes numbered up to .A99 for one
  2127.        hundred uniquely named volumes.  Then the numbers roll over to
  2128.        .A00.  When the archive name ends in .000, ARJ will create
  2129.        volumes numbered up to .999 for one thousand uniquely named
  2130.        volumes.  You can also start the series at .001.
  2131.  
  2132.        Example:  ARJ a -v720 -y -r archive.000 d:\
  2133.  
  2134.        Archived files can be split across volumes.    ARJ will try to
  2135.        fill each volume to within 200 to 1000 bytes of specified
  2136.        maximum size.
  2137.  
  2138.        The modifier "w" specifies to ARJ that files are NOT to be split
  2139.        across volumes except for one case.    That case is where the
  2140.        archived file would not fit in ONE whole volume.  This feature
  2141.        does not optimize the use of space in these type of volumes.
  2142.        With this feature, it is possible to have a volume of only 100
  2143.        or less bytes.
  2144.  
  2145.        An advantage to "w" type volumes is that updating of these
  2146.        volumes is supported for the "f"reshen command and other
  2147.        commands that do not add new files to the archive.  You can add
  2148.        files to these volumes only if you do NOT limit the volume size.
  2149.  
  2150.        The command "arj x a:arjvol -v" would restore files starting
  2151.        from arjvol.arj.  You must specify the entire ARJ volume name
  2152.        including the .Ann suffix when starting from the middle of a
  2153.        series of volumes or when the series starts with ".A01" or
  2154.        ".000", etc.
  2155.  
  2156.        You can suppress the next volume prompt with the "-jyv" option.
  2157.        When the multiple volume ARJ files to be used are located on
  2158.        drives with removable media (diskette drives, etc.), ARJ will
  2159.        ALWAYS PROMPT for the next diskette even with the "-y" option
  2160.        specified.  At DOS versions before 3.0, only drives A and B are
  2161.        considered removable.
  2162.  
  2163.        ARJ x a:arjvol -v -jyco
  2164.  
  2165.        The above example extracts in multiple volume mode and
  2166.        suppresses prompting for permission to create directories and to
  2167.        overwrite existing files.  ARJ will assume yes in these cases.
  2168.  
  2169.        Because of the splitting process, archived split files with a
  2170.        size of zero bytes are possible.  This is not an error.
  2171.  
  2172.        If you comment your archives with long comments, you should take
  2173.        that into account when specifying volume size.  You should
  2174.        specify a smaller volume size during the "a" command before
  2175.        adding the comments.
  2176.  
  2177.        The "-v" switch will accept the abbreviations 360, 720, 1200,
  2178.        and 1440.  These will be translated to 362,000, 730,000,
  2179.        1,213,000, and 1,457,000 bytes, respectively.  Please note that
  2180.        if the available disk space is less than the requested amount,
  2181.        ARJ will prompt the user for permission to continue.
  2182.  
  2183.        You can use the "K" modifier as a shortcut for "000".  For
  2184.        example, 100K means 100000.    "K" does NOT mean 1024.
  2185.  
  2186.        The "-vv" switch turns on the next volume beep option.  When you
  2187.        select this option, ARJ will sound a beep prior to the next
  2188.        volume.
  2189.  
  2190.        The "-va" switch sets the disk space auto-detect option.  ARJ
  2191.        will check for the disk space available on the target directory
  2192.        and try to use all or most of it.  This option is aimed at
  2193.        diskette usage.  Please note that this switch option detects
  2194.        free disk space.  It does not detect formatted disk space.
  2195.        If the space available is less than 10,000 bytes, ARJ will
  2196.        prompt the user for permission to continue.    Please note that
  2197.        ARJ can support the use of diskettes formatted at higher than
  2198.        normal capacities such as 3.5 inch HD diskettes formatted at
  2199.        1.6 MB.
  2200.  
  2201.        Examples:  ARJ a A:backup -b -va
  2202.               ARJ a backup -v360
  2203.  
  2204.        The "r" modifier allows the reservation of disk space on the
  2205.        first volume.  The number after the "r" specifies the space to
  2206.        reserve.  This is useful for software installation volumes.
  2207.  
  2208.        Example:  ARJ a install -v360r50K   make first volume 50000
  2209.                            bytes smaller than 360K.
  2210.  
  2211.        The switch modifier "s" can be used to make ARJ execute one
  2212.        specified system command prior to each volume or make ARJ pause
  2213.        for manual execution of system commands.  This is useful for
  2214.        purging target diskettes before ARJ writes to them.
  2215.  
  2216.        The switch modifier "z" is identical to the "s" modifier except
  2217.        that the system command is NOT echoed to the screen.
  2218.  
  2219.        Optionally, after the "s" modifier, you can specify a system
  2220.        command or batch filename.  ARJ will automatically execute the
  2221.        command or batch file before each volume.  If the command has
  2222.        embedded blanks, then the entire switch option must be
  2223.        surrounded by double quotes.  The system command is executed
  2224.        before ARJ executes the auto-detect space option.
  2225.  
  2226.        Examples:  ARJ a A:backup -vas
  2227.               ARJ a A:backup -vvas
  2228.               ARJ a A:backup -v360s
  2229.               ARJ a A:backup -vvw360s
  2230.               ARJ a A:backup -vaspurge.bat
  2231.               ARJ a A:backup -v360sdelete.bat
  2232.               ARJ a A:backup "-vasFORMAT A:"
  2233.               ARJ a A:backup "-vasDIR C:\ "
  2234.  
  2235.        Note that the last example has a space before the last double
  2236.        quote mark.    If the last space is missing, the internal command
  2237.        line parser will make the double quote mark part of the DIR
  2238.        command.
  2239.  
  2240.        The "-v" switch now accepts its modifiers in any order.  The "s"
  2241.        and "z" modifiers must be last because any succeeding text is
  2242.        considered the system command to execute.
  2243.  
  2244.        Examples:  ARJ a volume -vavw    beep, autosize, whole files
  2245.               ARJ a volume -vavsDIR    beep, autosize, execute DIR
  2246.  
  2247.        Volume archives can be used as stand-alone archives for non-update
  2248.        commands except for the files that are split across volumes.
  2249.  
  2250.        It is recommended that the "-jt" (test archive) option be used
  2251.        with the "-v" switch to ensure perfectly built volumes as it is
  2252.        tedious to retest volumes after they are built.
  2253.  
  2254.        During ARJ operation in non-update commands, ARJ will not abort
  2255.        when it cannot open the correct sequential ARJ volume archive.
  2256.        It will report the open error and proceed to the "Ok to process
  2257.        the next volume?" prompt.  At this point it is possible to swap
  2258.        diskettes to put the correct volume in place.  This feature is
  2259.        disabled if the "next volume" prompt has been disabled.
  2260.  
  2261.        For those who have enough free hard disk space, the -v option
  2262.        can be used to make backing up the hard disk fairly easy.  ARJ
  2263.        can be set to create multiple floppy sized volumes on the hard
  2264.        disk for later copy to diskettes.  So even if ARJ is slow, you
  2265.        can fire up an ARJ backup and some time later, you can quickly
  2266.        copy the volumes to floppies.  Below are sample backup commands:
  2267.  
  2268.        arj a backup *.* -b2 -r -v360 -y -jt -js    full backup
  2269.        arj a backup *.* -b1 -r -v360 -y -jt -js    incremental backup
  2270.  
  2271.        See the "-jn" and "-jx" options to see how to recover from an
  2272.        abort in the middle of a backup type operation.
  2273.  
  2274.        *****************************************************************
  2275.  
  2276.        WARNING:  Updating multiple volume archives with the "-v" switch
  2277.        set is NOT supported or recommended.  By default, ARJ will not
  2278.        allow the updating of multiple volume archives.  You can specify
  2279.        the "-hu" option to bypass this protection.
  2280.  
  2281.        Example:  ARJ c archive -hu -zcomment.txt
  2282.  
  2283.        *****************************************************************
  2284.  
  2285.        TIP:
  2286.  
  2287.        To pre-determine the number of diskettes required to archive a
  2288.        set of data, you can take advantage of the "s" option of the
  2289.        "-v" switch.  The "s" option lets you execute a DOS command
  2290.        prior to each volume.  You can specify a command that deletes
  2291.        the previously created archive volume.  This lets you use the
  2292.        same floppy diskette/hard disk space to build the multiple
  2293.        volumes.
  2294.  
  2295.        Example:  ARJ a -r "-vasdel a:volume.a??" -y a:volume c:\*.*
  2296.  
  2297.     w: assign Work directory
  2298.  
  2299.        This switch option is HIGHLY recommended if you are archiving
  2300.        directly to diskettes or if you have a sufficient RAMDISK space.
  2301.  
  2302.        By default, ARJ builds a new ARJ archive file in the same
  2303.        directory as the old archive file.  By specifying the "-w"
  2304.        switch, you can specify the working directory where the
  2305.        temporary archive file will be built.  After the temporary
  2306.        archive file is built, it is copied over the original one and
  2307.        deleted.
  2308.  
  2309.        Normally ARJ requires enough disk space for the original archive
  2310.        and the new temporary archive.  Specifying the "-w" switch
  2311.        allows you to move some of that disk space requirement to
  2312.        another directory.
  2313.  
  2314.        When using the "-w" switch while archiving to multiple volumes,
  2315.        ARJ will check the available disk space in the work directory.
  2316.        If there is not enough space, ARJ will prompt for permission to
  2317.        continue.  This prompt can be suppressed with the "-y" and
  2318.        "-jyk" switches.
  2319.  
  2320.        If the copy of the temporary archive on top of the original
  2321.        archive fails because of an I/O error, you will have to do the
  2322.        copy manually.  ARJ will not delete the temporary archive in this
  2323.        error situation.  If you press CTL BREAK during the copy
  2324.        process, ARJ will delete both the temporary archive and the
  2325.        original archive files.
  2326.  
  2327.        Example:  ARJ a -we:\temp\ archive *.c
  2328.  
  2329.        For speed reasons, you should always use the "-w" option when
  2330.        creating or modifying archives on diskettes.  You should specify
  2331.        a work directory on your hard disk or ramdrive.
  2332.  
  2333.        Example:  ARJ a -we:\ b:archive *.c
  2334.  
  2335.     x: Exclude filenames
  2336.  
  2337.        This switch is used to exclude filenames or wildnames from the
  2338.        list of filenames to be processed.
  2339.  
  2340.        Example:  ARJ a archive soft\*.* -r -x*.exe -x*.obj -xtest
  2341.  
  2342.        This example will archive all files in the soft directory and
  2343.        subdirectories with the exception of any files named "test"
  2344.        or ending in ".exe" and ".obj".
  2345.  
  2346.        You can also specify an exclude file list by preceding the
  2347.        filename with the list character "!".  The exclude file list
  2348.        must contain a list of filenames/wildnames one per line with no
  2349.        leading or trailing blanks.
  2350.  
  2351.        Example:  ARJ a archive soft\*.* -r -x!exclude.lst
  2352.  
  2353.        You can specify a pathname to exclude as in:
  2354.  
  2355.        ARJ a archive \dir\*.* -r -x\dir\*.*
  2356.  
  2357.        In the above example, ARJ will exclude all files in \dir
  2358.        but not the subdirectories in \dir.
  2359.  
  2360.        The "-x" option also allows you to exclude an entire path
  2361.        including subdirectories from being selected for processing.
  2362.  
  2363.        Syntax:  ARJ a archive C:\*.* -xC:\TEMP\
  2364.  
  2365.        The "\" after C:\TEMP indicates to ARJ that everything below
  2366.        C:\TEMP\ is to be excluded.
  2367.  
  2368.        Note that the exclude directory option requires that the
  2369.        directory be specified in the same relative path that the
  2370.        selected files use.
  2371.  
  2372.        Example:
  2373.  
  2374.        arj a archive \temp\*.* -x\temp\firstdir    is correct usage
  2375.        arj a archive \temp\*.* -xC:\temp\firstdir    is NOT correct because
  2376.                             of the C:
  2377.  
  2378.        The "-x" switch also works for non-update commands like
  2379.        "e"xtract and "l"ist.
  2380.  
  2381.        Examples:
  2382.  
  2383.        arj e archive -x*.exe       extract all files except *.exe files
  2384.        arj l archive -x*.exe -x*.obj   list all files except *.exe and *.obj
  2385.  
  2386.        A maximum of 8000 filenames or wildnames can be excluded.
  2387.  
  2388.        Note that the "-x" option is unaffected by the "-p" option.
  2389.  
  2390.     y: assume Yes on all queries
  2391.  
  2392.        Use this switch for batch type uses of ARJ.    This switch
  2393.        disables most of the normal user queries during ARJ execution.
  2394.        Use this switch to suppress overwrite queries in the "e" and "x"
  2395.        commands, to suppress the make new directory query in the "e"
  2396.        and "x" commands, to suppress the new filename prompt when an
  2397.        open file operation fails in the "e" and "x" commands, to
  2398.        suppress the pause during the "s" command and to suppress the
  2399.        next volume pause using the "-v" option to create volumes on the
  2400.        hard disk.
  2401.  
  2402.        The "-y" switch will NOT suppress the "-v" next volume prompt
  2403.        when the archive is located on a drive with removable media
  2404.        such as a diskette drive.
  2405.  
  2406.        Use this option with due caution, especially during extraction
  2407.        as this sets ARJ to overwrite files.  However, the "-n" option
  2408.        can be used to avoid any overwriting.
  2409.  
  2410.        As an alternative, you can use the "-jy" option which lets you
  2411.        suppress individual types of user queries.
  2412.  
  2413.     z: supply file for archive comment
  2414.  
  2415.        The "-z" switch has been provided to facilitate batch commenting
  2416.        of ARJ archives with the "c" command.  When the "-z" option has
  2417.        been specified with or without a comment file, ARJ will only
  2418.        process the archive header comment and will skip any file
  2419.        commenting unless the "-jz" switch has been specified.
  2420.  
  2421.        A comment file containing only a single blank can be used to
  2422.        erase comments from ARJ archives.
  2423.  
  2424.        Syntax:  arj c archive -z
  2425.             arj c archive -zcomment.txt
  2426.             arj a archive -zcomment.txt
  2427.  
  2428.        The "-z" option also allows one to dump the ARJ archive header
  2429.        comment to a file.  This will only extract the main archive
  2430.        comment and not the individual file comments.
  2431.  
  2432.        Syntax:  arj e archive ... -zcomment.txt  dumps only the comment
  2433.             arj x archive -zcomment.txt      dumps comment and files
  2434.  
  2435.        ja: show ANSI comments
  2436.  
  2437.        Display any ANSI escape sequences unaltered.  By default, escape
  2438.        characters in comments are not displayed.  Not displaying ANSI
  2439.        command is the default because of ANSI BOMBS.  Using ANSI
  2440.        commands, it is possible to redefine the keyboard of users using
  2441.        certain ANSI drivers.  For example, a key could be redefined to
  2442.        "echo y | del \*.*".
  2443.  
  2444.       ja1: inhibit the display of the archive comment
  2445.  
  2446.        The "-ja1" switch will suppress the display of the archive
  2447.        comment.
  2448.  
  2449.        jb: set archive Backup type
  2450.  
  2451.        If you modify an archive with the "-jb", ARJ sets the backup
  2452.        flag in the archive.  On adding, updating, or moving files to a
  2453.        backup type archive where a duplicate filename exist, ARJ marks
  2454.        the original file as a backup and inserts a copy of the
  2455.        duplicate filename.    The backup flag will stay set until reset
  2456.        with the "-jb1" option.
  2457.  
  2458.        These backup files take up space in the archive.  They can be
  2459.        purged with the ARJ k command.
  2460.  
  2461.        Examples:  ARJ a -jb archive dir\file1
  2462.               ARJ e -jb archive dir\file2
  2463.               ARJ k archive *.c
  2464.               ARJ y -jb archive       just sets the backup flag
  2465.  
  2466.        Normally, backup files will not be selected by ARJ commands.  In
  2467.        other words, an ARJ l archive command will not display backup
  2468.        files.  However, the "-jg" option will include backup files in
  2469.        the selection process.  For example, ARJ l archive -jg will
  2470.        display all files including backup files.
  2471.  
  2472.        This option is especially useful for backing up files.  You can
  2473.        maintain several generations of the same file in the same
  2474.        archive.
  2475.  
  2476.       jb1: reset Backup type archive
  2477.  
  2478.        This switch allows you to reset the backup flag in a backup type
  2479.        archive.  Addition of files to such an archive will no longer
  2480.        result in files being marked as backups.  However, this option
  2481.        does not remove already existing backup files.
  2482.  
  2483.        Example:  ARJ y archive -jb1
  2484.              ARJ a archive filename -jb1
  2485.  
  2486.       jb2: unmark backup file
  2487.  
  2488.        The "-jb2" option is used with the "y" command to unmark files
  2489.        marked as backups.  Note that this may produce duplicate files
  2490.        in the archive.
  2491.  
  2492.        Example:  ARJ y archive -jb2        unmark all backup files
  2493.              ARJ y archive *.doc -jb2  unmark all *.doc files
  2494.              ARJ y archive -# -jb2 5   unmark the 5th file
  2495.  
  2496.       jb3: mark as backup file
  2497.  
  2498.        The "-jb3" option is used with the "y" command to mark files as
  2499.        backups.
  2500.  
  2501.        Example:  ARJ y archive -jb3        mark all files as backups
  2502.              ARJ y archive *.doc -jb3  mark all *.doc files
  2503.              ARJ y archive -# -jb3 5   mark the 5th file
  2504.  
  2505.        jc: exit after Count of files
  2506.  
  2507.        The "-jc" option sets ARJ to exit early from an archive scan
  2508.        when the specified number of files have been extracted, listed,
  2509.        printed, etc.  If no number has been specified, ARJ will set
  2510.        that number to the number of filename arguments.
  2511.  
  2512.        Examples:  ARJ e -jc archive file1 file2 file3
  2513.               ARJ e -jc5 archive *.bat
  2514.  
  2515.        Note that "*.*" is considered a count of ONE argument.
  2516.  
  2517.        This option does NOT WORK when modifying an archive.
  2518.  
  2519.        jd: ensure free Disk space
  2520.  
  2521.        In extraction mode, this option causes ARJ always to ensure that
  2522.        it will leave the user specified amount of disk space available.
  2523.        ARJ will skip files that would exceed the disk space available
  2524.        limit.  Each file that is skipped will count as an error.  The
  2525.        default free space is zero bytes.
  2526.  
  2527.        Example:  ARJ e archive basedir\ *.doc -jd100K
  2528.  
  2529.        In the above example, ARJ will not extract any files that will
  2530.        cause the disk free space to be less than 100,000 bytes.  The
  2531.        "K" is a synonym for "000".    For example, 100K means 100000.
  2532.  
  2533.        In "l"ist or "v"erbose list mode, this option sets an error
  2534.        check at the end of the listing screen based upon the total of
  2535.        the original sizes of the files selected.  If the total size
  2536.        would exceed the user specified free space limit, ARJ will
  2537.        report an error at the end of the listing screen.
  2538.  
  2539.        Example:  ARJ l archive *.doc -jd10000
  2540.  
  2541.        In this example, ARJ will report an error if the current
  2542.        available disk space minus the total of the *.doc files is less
  2543.        than the specified minimum of 10,000 bytes.
  2544.  
  2545.        Example:  ARJ e archive *.* -jd0
  2546.  
  2547.        In this example, ARJ will skip extraction of any files that
  2548.        would result in a disk full error.
  2549.  
  2550.        je: create self-Extracting archive
  2551.  
  2552.        This option causes ARJ to create a self-extracting .EXE file
  2553.        instead of an .ARJ file.  This ARJSFX self-extractor is about
  2554.        15,000 bytes in size and supports full pathname extraction.
  2555.        The "-je1" switch creates a smaller self-extracting .EXE file.
  2556.        The ARJSFXJR module is about 5,800 bytes in size.  Both modules
  2557.        support display of the archive comment.  The ARJSFX module also
  2558.        provides a query to continue the extraction.
  2559.  
  2560.        The SFX modules do NOT support multiple volume archives.  That
  2561.        would serve little purpose because you would have to distribute
  2562.        multiple files anyway.  In this case, DEARJ (available to
  2563.        registered users) would serve adequately.  DEARJ supports all of
  2564.        ARJ extraction functionality including multiple volume archives.
  2565.  
  2566.        Please note that including the SFX modules, DEARJ, or ARJ as
  2567.        part of a hardware and/or software package ALWAYS REQUIRES an
  2568.        ARJ distribution license.
  2569.  
  2570.        At ARJ 2.10, the SFX executable modules are pre-compressed using
  2571.        LZEXE.  This may cause false indications with EXE scanning
  2572.        programs showing that an ARJ SFX archive is a LZEXE compressed
  2573.        file.  Only the executable header module is LZEXE compressed.
  2574.        The actual archive is ARJ compressed, of course.  The LZEXE
  2575.        header is modified to avoid extraction by UNLZEXE type programs.
  2576.        UNLZEXE may truncate an ARJ self-extractor of its archive.
  2577.  
  2578.        Both SFX modules have an identification string located in the
  2579.        first 1000 characters of the executable.  The identification
  2580.        string is "aRJsfX" without the quotes and in the exact case.
  2581.  
  2582.        The current commands ARJSFX supports are:
  2583.  
  2584.        Usage: ARJSFX [-command] [-switch(s)] [directory\] [file(s)]
  2585.  
  2586.        Commands:
  2587.        e: Extract files           v: Verbosely list contents
  2588.        l: List contents           x: eXtract files with pathname (default)
  2589.        t: Test contents
  2590.  
  2591.        Switches:
  2592.        a: show ANSI comments       n: only New files
  2593.        c: skip time stamp Check    p: match with Pathname
  2594.        f: Freshen existing files   s: Skip security check
  2595.        g: unGarble with password   u: Update files
  2596.        i: no progress Indicator    y: assume Yes on queries
  2597.  
  2598.        NOTE!!!  ARJSFX uses the "-" character before all commands and
  2599.        switches.  This is to allow extraction of files named e, l, etc.
  2600.  
  2601.        The default ARJSFX command is "-x" extract files with pathnames.
  2602.        At ARJSFX startup, the self-extracting archive will display any
  2603.        archive header comment followed by a query to "Continue
  2604.        extraction?".  This query can be suppressed by specifying the
  2605.        "-e", "-x" or "-y" options on the command line.
  2606.  
  2607.        When extracting pathnames, ARJSFX will prompt for permission to
  2608.        create new directories unless the "-y" option is specified.
  2609.        ARJSFX will create absolute or relative directories depending
  2610.        upon whether the root directory has been stored in the pathname
  2611.        in the archive.  Saving the root is done using the "-jf" option.
  2612.  
  2613.        To avoid extracting to paths, the archive creator should use the
  2614.        "-e" option to exclude path specs.  The user extracting the SFX
  2615.        module can specify the "-e" command to extract to the current
  2616.        directory.
  2617.  
  2618.        ARJSFX does not support compression method 4.
  2619.  
  2620.        The ARJSFX module supports the ARJ-SECURITY envelope feature by
  2621.        itself.  The ARJ-SECURITY feature is only available as a
  2622.        licensed option.  It is intended as a feature for software
  2623.        developers.    The "-s" option allows the user to skip the testing
  2624.        of the ARJ-SECURITY envelope.
  2625.  
  2626.        ARJ will create a self-extracting module without an intermediate
  2627.        archive file.
  2628.  
  2629.        Example:  ARJ a software *.* -je
  2630.  
  2631.        If you want to make a self-extracting module from an ARJ
  2632.        archive, use the "y" command.
  2633.  
  2634.        Example:  ARJ y software -je
  2635.  
  2636.        IMPORTANT:  When executing an ARJSFX module on a system with the
  2637.        CONSOLE device set to RAW mode, the ARJSFX module will abort on
  2638.        user input to avoid hanging the system.  Use of the "-y" switch
  2639.        on the command line will avoid the problem.
  2640.  
  2641.        Example:  ARJ230 -y
  2642.  
  2643.        The ARJSFXJR module created with the "-je1" switch is a
  2644.        stripped-down version of ARJSFX.  ARJSFXJR does not support method
  2645.        4 or text mode "-t1" or garbled "-g" archives.  An ARJSFXJR
  2646.        module containing files with pathnames will extract to the paths.
  2647.        ARJSFXJR will automatically create directories as needed to build
  2648.        the paths.
  2649.  
  2650.        Example:  ARJ y software -je1
  2651.  
  2652.        The current commands ARJSFXJR supports are:
  2653.  
  2654.        Usage: ARJSFXJR [-switch(es)] [drive:][directory\]
  2655.  
  2656.        Switches:
  2657.        n: set ARJSFXJR to NOT count as an error the skipping of files
  2658.        o: set ARJSFXJR to overwrite existing files
  2659.  
  2660.        You can specify a target_directory or drive or both.  However,
  2661.        you must specify the ending "\" or ":" symbol.
  2662.  
  2663.        ARJSFXJR -o C:\SOFT\  -> self-extract into directory "C:\SOFT\"
  2664.                     in overwrite mode.
  2665.  
  2666.        Both the ARJSFX and ARJSFXJR modules will by default extract to
  2667.        relative/absolute path specs if the archive contains
  2668.        relative/absolute path specs.
  2669.  
  2670.        More examples:
  2671.  
  2672.        Build an SFX module with absolute pathnames for extraction to
  2673.        the absolute pathnames:
  2674.  
  2675.        ARJ a -r -je -jf DISTRIB \product\*.*
  2676.  
  2677.        The user need only type "DISTRIB -y" to recreate automatically
  2678.        the "product" directory on the current drive.
  2679.  
  2680.        Build an SFX module with relative pathnames for extraction to
  2681.        relative pathnames:
  2682.  
  2683.        ARJ a -r -je DISTRIB \product\*.*
  2684.  
  2685.        The user need only type "DISTRIB -y" to recreate automatically
  2686.        the "product" subdirectory in the current directory.  The user
  2687.        can recreate the "product" subdirectory in another directory by
  2688.        typing the command "DISTRIB -y directory_name\".
  2689.  
  2690.        Build an SFX module with relative pathnames for extraction to
  2691.        relative pathnames excluding the base directory:
  2692.  
  2693.        ARJ a -r -e1 -je DISTRIB \product\    *.*
  2694.  
  2695.        The user need only type "DISTRIB -y" to recreate automatically
  2696.        the files and subdirectories of the "product" directory in the
  2697.        current directory.
  2698.  
  2699.        Build an SFXJR module with filenames (no path specs).
  2700.  
  2701.        ARJ a -e -je1 DISTRIB \product\*.*
  2702.  
  2703.        The user need only type "DISTRIB" to extract automatically the
  2704.        entire contents of "DISTRIB.EXE" to the current directory.
  2705.  
  2706.        jf: store/use Full specified path
  2707.  
  2708.        Normally, ARJ will strip all pathnames of drive letter and root
  2709.        symbol.  This switch disables this action.  When extracting with
  2710.        the "x" command from an archive that was built with this switch,
  2711.        ARJ will normally strip any drive letter and root symbol, unless
  2712.        the "-jf" option is specified again.
  2713.  
  2714.        The "-jf1" option will strip only the drive spec and NOT the
  2715.        root symbol.  You can use either the "-jf" or "-jf1" option
  2716.        during extraction to force use of the root directory.
  2717.  
  2718.        jg: select backup files
  2719.  
  2720.        The "-jg" switch allows the user to include the selection of
  2721.        archive files that are marked as backups by the "-jb" option.
  2722.        Normally, backup files will not be processed by any commands
  2723.        except for the "k" and "y" commands.
  2724.  
  2725.        Examples:  ARJ l -jg archive
  2726.               ARJ e -jg -q archive name.c
  2727.               ARJ d -jg archive *.*
  2728.  
  2729.        jh: set Huffman buffer size
  2730.  
  2731.        ARJ has a default static Huffman buffer size of 16,384 bytes.
  2732.        This buffer size is better for compressing executable files.
  2733.  
  2734.        The buffer size in ARJ 0.15 and earlier was set to 65,500 bytes.
  2735.        That size is better for large text files.  You may specify a
  2736.        buffer size from 2,048 to 65,535 bytes.
  2737.  
  2738.        Example:  ARJ a archive *.txt -jh65500
  2739.  
  2740.        If you specify a Huffman buffer size, ARJ will use that size for
  2741.        all types of files specified by the archive command.
  2742.  
  2743.        ji: set Index filename
  2744.  
  2745.        The "-ji" switch is used to create an index file containing the
  2746.        filenames archived or meeting certain criteria.  This is
  2747.        especially helpful when using ARJ to do multiple floppy type
  2748.        archives.  This file SHOULD NOT be created on the floppy
  2749.        diskette if the floppy diskette is changed during the archival
  2750.        process.
  2751.  
  2752.        If the index file already exists, ARJ will append data to it.
  2753.  
  2754.        The index file contains three types of text lines.  The first
  2755.        type is the volume name record.  It contains the date, time,
  2756.        starting file position, and the archive name.  The second type
  2757.        is the filename record.  It contains only the filename.  The
  2758.        third type only occurs during archival with testing "-jt".  It
  2759.        is a line containing "Testing " and the archive name.
  2760.  
  2761.        This information is also useful for restarting "-v" multiple
  2762.        volume archives.  You need the filename and the starting file
  2763.        position.
  2764.  
  2765.        The "-ji" switch will log the following events:
  2766.  
  2767.        a, f, m, u - Log actual filenames added to archive and if testing
  2768.             is enabled, the actual filenames that failed testing.
  2769.        d          - Log archived filenames deleted.
  2770.        e, x       - Log archived filenames successfully extracted.
  2771.             Extracted files with CRC errors are NOT logged.
  2772.        j          - Log archived filenames added to archive.
  2773.        l, v       - Log archived filenames listed.
  2774.        t          - Log archived filenames that failed testing.
  2775.        w          - Log archived filenames that contain string matches.
  2776.  
  2777.        This logging function is especially helpful when testing and
  2778.        searching archives.
  2779.  
  2780.        The "-hi" option will set ARJ to write more details to the index
  2781.        file.
  2782.  
  2783.        jk: Keep temp archive on error
  2784.  
  2785.        When the "-jk" switch has been specified, ARJ will keep the
  2786.        temporary archive during an aborted archive build/update.
  2787.        During a failed build, ARJ will modify the temporary archive to
  2788.        make it usable by removing the broken portion.
  2789.  
  2790.        jl: display only filespecs
  2791.  
  2792.        The "-jl" option sets ARJ to display only the filespec of a
  2793.        filename during the progress displays.  This will simplify the
  2794.        display output.
  2795.  
  2796.        jm: set Maximum compression
  2797.  
  2798.        The "-jm" switch sets the maximum compression mode.    This mode
  2799.        is used with method 1 "-m1" to increase its compression.  This
  2800.        may increase compression time significantly.
  2801.  
  2802.        You can get a 1 to 5 percent improvement in compression with
  2803.        ARJ -m1 -jm.
  2804.  
  2805.        The "-jm1" option provides slightly less compression than "-jm"
  2806.        at a faster speed.  This can range from slightly faster to much
  2807.        faster.
  2808.  
  2809.        Use of "-jm" with "-m2", "-m3", or "-m4" is NOT SUPPORTED.
  2810.  
  2811.        jn: set restart Name
  2812.  
  2813.        The "-jn" switch is used to restart interrupted multiple volume
  2814.        archives in conjunction with the "-jx" switch.  All selected
  2815.        files are skipped up to but not including the named file.
  2816.  
  2817.        Example:  ARJ a volume -v360 -r -jn\BIN\TREE.COM -jx1230
  2818.  
  2819.        In the above example, all files scanned up to \BIN\TREE.COM are
  2820.        skipped.  Archiving will start at file position 1230 of file
  2821.        \BIN\TREE.COM.
  2822.  
  2823.        IMPORTANT!!!  The exact name of the starting file must be
  2824.        specified according to the wildnames/filespecs specified.  This
  2825.        name is the same as displayed by the Adding filename display and
  2826.        the same as written to the "-ji" index file.  Please note that
  2827.        \DOS\TREE.COM is not considered the same as DOS\TREE.COM with
  2828.        this option.
  2829.  
  2830.        New at ARJ 2.39 is the feature where ARJ will automatically
  2831.        scan the previously written index file ("-ji") to get the
  2832.        necessary restart information.  You only need append "-jn" to
  2833.        the previous backup command line.  This option will not work
  2834.        without the index file.  ARJ will automatically set the correct
  2835.        volume name.
  2836.  
  2837.        Example:  ARJ a a:backup c:\*.* -r -vvas -jiINDEX.FIL
  2838.              ARJ a a:backup c:\*.* -r -vvas -jiINDEX.FIL -jn
  2839.  
  2840.        jo: query when updating an archive file
  2841.  
  2842.        The "-jo" option has two flavors.
  2843.  
  2844.        The "-jo" switch is used to query the user when using the ARJ
  2845.        "a" or "m" commands to add files to an archive.  Before ARJ
  2846.        overwrites an existing internal archive file when using "-jo",
  2847.        ARJ will query the user with "Update <filename>? ".    Without
  2848.        this option, ARJ will overwrite the internal archive file
  2849.        without querying.
  2850.  
  2851.        jo: extract to unique Output names
  2852.  
  2853.        The "-jo" switch during extraction allows automated handling of
  2854.        duplicate filenames.
  2855.  
  2856.        On extraction with the "-jo" switch where the output file
  2857.        already exists in the target directory, ARJ will attempt to
  2858.        generate a unique filename by changing the file extension to a 3
  2859.        digit number from .000 to .999.  If ARJ cannot generate a unique
  2860.        name, it will skip extracting the file.
  2861.  
  2862.        jp: Pause after each screenful
  2863.  
  2864.        This switch will cause ARJ to pause after listing each screenful
  2865.        of data for the "l", "p", "v", "w" commands.  Press the ENTER
  2866.        key to continue the listing.  You can also enter "quit" to exit
  2867.        ARJ.
  2868.  
  2869.        In one special case, "ARJ -? -jp", the use of the -jp switch
  2870.        toggles page pauses off, because by default in help mode,
  2871.        pausing is on.
  2872.  
  2873.        You can specify the page size with the "-jp" option as in
  2874.        "-jp50".  This also turns on the pause mode.  If you wish to use
  2875.        this in ARJ_SW, it is suggested that you use "-jp50 -jp-" to set
  2876.        the page size and to turn off the pause mode.
  2877.  
  2878.        jq: set string parameter
  2879.  
  2880.        The "-jq" option is used to supply additional parameters to the ARJ
  2881.        w and ARJ b commands.  If the parameters contain blanks, then the
  2882.        entire "-jq" option must be enclosed by two double quote marks.
  2883.  
  2884.        See the "w" and "b" commands for the correct "-jq" syntax.
  2885.  
  2886.        jr: Recover broken archive files
  2887.  
  2888.        This switch is used to access headers and files in an archive
  2889.        that has been corrupted either with bad data or missing data.
  2890.        This switch lets ARJ find the next valid header for listing,
  2891.        extraction or testing.  ARJ will continue to look for headers
  2892.        until it finds the end of archive marker.  If the archive is
  2893.        damaged, ARJ may display a message stating that it encountered
  2894.        the end of file unexpectedly.
  2895.  
  2896.        This switch also will allow extraction of files with CRC or
  2897.        Bad file data errors.  Normally, ARJ will delete such extracted
  2898.        files.
  2899.  
  2900.        If file header data has been corrupted, ARJ will be unable to
  2901.        recover any file data associated with that header.  As of ARJ
  2902.        2.30, "Bad file data" errors will not abort the recovery
  2903.        process.
  2904.  
  2905.        Example:  ARJ e archive -jr
  2906.  
  2907.        The "-jr1" version of this switch allows processing of damaged
  2908.        ARJ archives that have an end of archive mark in the middle of
  2909.        the archive.  However, the use of this switch will always cause
  2910.        ARJ to display an "unexpected end of file" error message and to
  2911.        return a non-zero errorlevel.
  2912.  
  2913.        js: Store archives by suffix
  2914.  
  2915.        This switch is used to set ARJ to store and not compress files
  2916.        with the following extensions: .ARJ, .ZIP, .LZH, .PAK, .ARC.
  2917.  
  2918.        The file extensions can be specified as follows:
  2919.  
  2920.        ARJ a archive -js.zoo.ice.gif
  2921.  
  2922.        The above command will store files with extensions ending in
  2923.        .ZOO, .ICE, and .GIF.  This overrides the defaults.
  2924.  
  2925.        You can use the environment variable ARJ_SW to set up your own
  2926.        defaults as follows:
  2927.  
  2928.        set arj_sw = -js.arj.zip.lzh -js-
  2929.  
  2930.        The "-js-" turns off the option by default so that when you
  2931.        specify the "-js" switch on the command line, ARJ will already
  2932.        know what extensions you want to store.
  2933.  
  2934.        jt: Test temporary archive
  2935.  
  2936.        The "-jt" switch can used to set ARJ to execute an archive
  2937.        integrity check on an intermediate temporary archive before
  2938.        overwriting any pre-existing original archive.  If any error
  2939.        occurs, ARJ will not overwrite the original archive.  When used
  2940.        with the "-w" switch option, ARJ will also test the final
  2941.        archive file as well as the temporary archive before deleting
  2942.        any input files.
  2943.  
  2944.        Example:  ARJ m archive *.c -jt
  2945.  
  2946.        The "-jt" switch can be used with extract type commands to set
  2947.        ARJ to verify the archive before doing any extraction of files.
  2948.        If the archive fails verification, the extraction is NOT
  2949.        attempted.  This is useful for handling MAIL packets where
  2950.        archive corruption due to a bad file transfer is a fairly
  2951.        frequent event.
  2952.  
  2953.        Example:  ARJ e archive -jt
  2954.  
  2955.        The "-jt1" switch allows an actual file contents comparison in
  2956.        addition to the normal file CRC calculation check.  This option
  2957.        can also be used with the ARJ t (test) command.
  2958.  
  2959.        When used with the ARJ t command, ARJ "-jt1" will use the
  2960.        base_directory option and the filename stored in the archive to
  2961.        locate the original file.
  2962.  
  2963.        When used with the ARJ add/move/update type commands, ARJ will
  2964.        use only the filename stored in the archive to locate the
  2965.        original file.  Therefore, the "-jt1" option does NOT work with
  2966.        the "-e" option or when the original filename has a drive letter
  2967.        or root directory in it and you did not specify "-jf".
  2968.  
  2969.        Examples:  ARJ t -jt1 archive dir\
  2970.               ARJ a -jt1 archive e:\temp\*.*  -jf
  2971.  
  2972.        The "-jt2" switch allows the same features as "-jt1" except that
  2973.        the file compares are only done for the newly added/updated
  2974.        files.  This avoids the situation where the some of original
  2975.        input files are missing or have changed.  NOTE that a problem
  2976.        can occur with the "f" and "u" commands when files in the
  2977.        archive are NEWER than the files being added.  ARJ will
  2978.        considered the file up-to-date and added and will do a file
  2979.        compare.
  2980.  
  2981.        Example:  ARJ u -jt2 archive dir\
  2982.  
  2983.        ju: translate UNIX style paths
  2984.  
  2985.        This switch causes ARJ to translate any subsequently encountered
  2986.        pathnames to MS-DOS style from UNIX style.  This switch also
  2987.        causes translation of filenames entered as a result of ARJ
  2988.        prompts such as in comment filenames.
  2989.  
  2990.        Example:  ARJ a archive -ju /soft/*.c
  2991.  
  2992.        jv: set Verbose display
  2993.  
  2994.        This switch sets ARJ to display more information during the
  2995.        "t"est, "l"ist, and "ex"tract commands.
  2996.  
  2997.        Example:  ARJ t archive -jv
  2998.  
  2999.        The "-jv" switch causes the "v" command to display only the
  3000.        pathnames to the screen.
  3001.  
  3002.        The "-jv1" switch causes the "v" command to display the archive
  3003.        data in manner suitable for sorting on various fields.
  3004.  
  3005.        The "-jv" switch will set the "p", "s", and "w" commands to
  3006.        display IBM graphics characters (128 to 255).
  3007.  
  3008.        jw: set extract output filename
  3009.  
  3010.        The "-jw" option allows you to specify the name of the
  3011.        extraction output file.  You should only select one file to
  3012.        extract when using this option.
  3013.  
  3014.        This is similar but not exactly the same as using the "p"
  3015.        command with DOS output redirection.  Using DOS redirection would
  3016.        cause all of the output of the extraction to be put into the
  3017.        output file.  Using "-jw" would set ARJ to prompt for
  3018.        overwrite permission per each file extracted to the output file.
  3019.  
  3020.        This option may be needed when trying to output binary data to
  3021.        a printer.
  3022.  
  3023.        Example:  ARJ e archive printer.dat -jwLPT1
  3024.  
  3025.        jx: start at eXtended position
  3026.  
  3027.        This switch is used to continue a file onto a new archive
  3028.        manually.  This switch is normally for use when a multiple
  3029.        volume "a" command has aborted.
  3030.  
  3031.        Example:  ARJ a arjvol.a01 manual.doc -jx100000
  3032.  
  3033.        This example archives manual.doc starting from file byte
  3034.        position 100,000 and on.
  3035.  
  3036.        In extraction mode, this sets ARJ to extract a file to an output
  3037.        file at a specified starting position.
  3038.  
  3039.        Example:  ARJ e -jx2000000 archive file1
  3040.  
  3041.        This example extracts the file "file1" to file1 starting at
  3042.        position 2,000,000 or at the end of the file.
  3043.  
  3044.        This is similar to using the command "ARJ p archive >> output".
  3045.        To duplicate this redirection with ARJ would require the following:
  3046.  
  3047.        ARJ e -jx2000K -jwoutput archive
  3048.  
  3049.        NOTE that the -jx option is NOT functional when adding a file to
  3050.        an archive that already contains one or more files.
  3051.  
  3052.        jy: suppress queries assuming YES
  3053.  
  3054.        This switch is used to suppress individual ARJ user prompts.
  3055.  
  3056.        Syntax:  ARJ e archive -jy<flags>
  3057.  
  3058.        where <flags> is one or more of the following characters: a, c,
  3059.        d, k, n, o, s, v.  For each flag selected, ARJ will act as if
  3060.        you had answered YES to the suppressed question.
  3061.  
  3062.        A - skip append query during a multi-volume extraction
  3063.        C - skip create directory query
  3064.        D - skip delete files query
  3065.        K - skip disk space availability query
  3066.        N - skip new filename prompt
  3067.        O - skip overwriting existing file query
  3068.        R - erase all typeahead before prompting
  3069.        S - skip scanned enough text query
  3070.        V - skip ok to proceed to next volume query
  3071.        Y - accept single character Y/N/A/Q inputs
  3072.  
  3073.        Example:  ARJ x volume -v -jyaco
  3074.              suppress append, create, and overwrite prompts.
  3075.  
  3076.        ARJ will allow you to specify individual "jy" options in
  3077.        separate switch strings as in "-jyy -jyr".  You may inhibit a
  3078.        switch as in "-jyr-".  As with other switches, the "jy" switches
  3079.        toggle as in "-jyr -jyr".
  3080.  
  3081.        jz: supply file for file comment
  3082.  
  3083.        The "-jz" switch has been provided to facilitate batch
  3084.        commenting of one or more files within an ARJ archive.  Only one
  3085.        comment file can be specified.  That file will be used to
  3086.        comment each file specified on the command line.
  3087.  
  3088.        A comment file containing only a single blank can be used to
  3089.        erase comments from ARJ archives.
  3090.  
  3091.        Syntax:  ARJ c archive file1 -jzcomment.txt
  3092.             ARJ c archive file1 -zheader.cmt -jzfile.cmt
  3093.  
  3094.        ha: ignore readonly Attribute
  3095.  
  3096.        The "-ha" switch sets ARJ to reset the attributes of a file to be
  3097.        overwritten or a file to be deleted.  This allows the overwrite or
  3098.        delete operation to proceed.
  3099.  
  3100.        A slight performance degradation may result from using this option.
  3101.  
  3102.        Examples:  ARJ e archive -ha
  3103.               ARJ m archive -ha dir\*.*
  3104.  
  3105.        hc: execute DOS Command at ARJ start
  3106.  
  3107.        The "-hc" switch sets ARJ to execute a DOS command at the start
  3108.        of the execution of ARJ immediately after the command line
  3109.        switch options have been processed, but before the wildcard
  3110.        search is started.  This can be used to clear the screen to hide
  3111.        the command line or to provide a pause option to allow swapping
  3112.        diskettes.
  3113.  
  3114.        Examples:  ARJ a -hcCLS archive -gpassword
  3115.               ARJ a -hcPAUSE archive *.*
  3116.  
  3117.        he: skip test of security Envelope
  3118.  
  3119.        The "-he" switch sets ARJ to skip the verification step when
  3120.        accessing an ARJ-SECURED ARJ archive.  If an ARJ archive has
  3121.        a damaged ARJ-SECURITY envelope, you will have to use the "-he"
  3122.        option to extract the archive.
  3123.  
  3124.       he1: set error on security Envelopes
  3125.  
  3126.        The "-he1" switch sets ARJ to abort with an error code of 4 when
  3127.        processing a possibly ARJ-SECURED archive.  This is useful as a
  3128.        REARJ.CFG option for ARJ.  This will prevent REARJ from
  3129.        converting an ARJ-SECURED archive to the same or another format.
  3130.  
  3131.        Examples:  ARJ l secured.arj -he1
  3132.  
  3133.        hi: full detail display in Index files
  3134.  
  3135.        The "-hi" switch when used with the "-ji" switch sets ARJ to
  3136.        include the file date-time stamp, the original file size, the
  3137.        compressed file size, the compression ratio, and the filename in
  3138.        the index file.
  3139.  
  3140.        Example:  ARJ a a:backup c:\*.* -r -va -jiINDEX -hi
  3141.  
  3142.        hl: return error for Listfile error
  3143.  
  3144.        The "-hl" switch sets ARJ to report the "file not found" type
  3145.        of errors when processing the filenames in an ARJ listfile
  3146.        during an "add" type command (a, f, m, u).  ARJ will
  3147.        subsequently return a non-zero DOS errorlevel when such an
  3148.        error has been found.  Previous versions of ARJ ignored these
  3149.        types of errors.
  3150.  
  3151.        Example:  ARJ a a:backup !listfile -va -hl
  3152.  
  3153.        hs: disable file Sharing
  3154.  
  3155.        The "-hs" switch sets ARJ to disable its file sharing feature.
  3156.        This may be necessary for some unusual applications.
  3157.  
  3158.        hu: allow the Updating of multiple volume archives
  3159.  
  3160.        The "-hu" switch sets ARJ to allow the updating of multiple volume
  3161.        archives.  At this version, by default, ARJ does not allow
  3162.        updating of multiple volume archives because of the possibility of
  3163.        losing data.
  3164.  
  3165.        Example:  ARJ c archive -hu -zcomment.txt
  3166.  
  3167.        hw: modify search filename display
  3168.  
  3169.        The "-hw" switch sets the ARJ w command to display the
  3170.        "Searching ..." filenames messages in a scroll saving format.
  3171.        Filenames of files that do not contain string matches will be
  3172.        overwritten on the screen.
  3173.  
  3174.        The "-hw1" switch sets the ARJ w command to display ONLY the
  3175.        "Searching ..." filenames messages for files that contain string
  3176.        messages.
  3177.  
  3178.        hx: specify archive file extensions
  3179.  
  3180.        The "-hx" switch allows the user to specify what the default
  3181.        file extension or extensions that are to be used by ARJ to
  3182.        access archive names that are not specified with file
  3183.        extensions.    ARJ will assume that the first extension specified
  3184.        will be the main default extension.
  3185.  
  3186.        Examples:  ARJ a archive *.* -hx.SDN   assumes default .SDN
  3187.                           file extension
  3188.               ARJ l archive -hx.SDN.ARJ   looks for archive.SDN and
  3189.                           if not found, then looks
  3190.                           for archive.ARJ
  3191.  
  3192.  
  3193.      ARJ COMMAND OPTIONS:
  3194.  
  3195.     Some of the following options have variations such as -s as in
  3196.     -s, -s1, -s2.
  3197.  
  3198.     The following options work for ALL ARJ commands.
  3199.  
  3200.     !names.lst
  3201.     -o
  3202.     -ob
  3203.     -od
  3204.     --
  3205.     -+
  3206.     -&
  3207.     -!
  3208.     -i
  3209.     -l
  3210.     -r   this affects wildcarded archive names, too.
  3211.     -s
  3212.     -x
  3213.     -y
  3214.     -ja
  3215.     -jl
  3216.     -jt
  3217.     -ju
  3218.     -jy
  3219.     -hc
  3220.     -he
  3221.     -he1
  3222.     -hs
  3223.     -hx
  3224.  
  3225.     The following options work for all ARJ commands that modify
  3226.     ARJ archives.
  3227.  
  3228.     -k
  3229.     -s
  3230.     -w
  3231.     -z
  3232.     -jb
  3233.     -je
  3234.     -jk
  3235.     -jz
  3236.     -hu
  3237.  
  3238.  
  3239.     In addition the following options work for ARJ a, f, m, u commands.
  3240.  
  3241.     -a
  3242.     -b
  3243.     -m
  3244.     -r
  3245.     -t
  3246.     -jh
  3247.     -ji
  3248.     -jm
  3249.     -jn
  3250.     -js
  3251.     -hi
  3252.     -hl
  3253.  
  3254.  
  3255.     The following options work for ARJ y command.
  3256.  
  3257.     -jb
  3258.     -je
  3259.  
  3260.  
  3261.     The following options work for ALL but the ARJ a, f, m, u commands.
  3262.  
  3263.     The name of the archive can be a wildspec.
  3264.     -#
  3265.     -d
  3266.     -e
  3267.     -p
  3268.     -jg
  3269.     -jr
  3270.  
  3271.  
  3272.     The following options work for the ARJ a, f, m, u, e, x
  3273.     commands.
  3274.  
  3275.     -$
  3276.     -c
  3277.     -f
  3278.     -g
  3279.     -n
  3280.     -u
  3281.     -jf
  3282.     -ji
  3283.     -jx
  3284.     -hi
  3285.  
  3286.  
  3287.     The following options work for the ARJ e, x commands.
  3288.  
  3289.     -d
  3290.     -jc
  3291.     -jw
  3292.  
  3293.  
  3294.     The following options work for the ARJ l, v commands
  3295.  
  3296.     -n
  3297.     -jp
  3298.  
  3299.  
  3300.     The following options have limited use.
  3301.  
  3302.     -q   - works for all commands except j, l, n, o, t, v, w, y
  3303.     -v   - works for l, v, w commands
  3304.     -jc  - works for e, x, l, v commands
  3305.     -jp  - works for l, v, w commands
  3306.     -jq  - works for b, w, commands
  3307.     -jv  - works for most commands
  3308.     -hw  - works for w command
  3309.  
  3310.  
  3311.      SAMPLE ARJ COMMANDS:
  3312.  
  3313.     a: Add files to archive
  3314.  
  3315.        ARJ a archive
  3316.        ARJ a archive -n
  3317.        ARJ a archive -f
  3318.        ARJ a archive -jt
  3319.        ARJ a archive -jt1
  3320.        ARJ a archive -jt2
  3321.        ARJ a archive -q
  3322.        ARJ a archive -r
  3323.        ARJ a archive dir\ -o
  3324.        ARJ a archive dir\
  3325.        ARJ a archive dir\ *.doc *.exe
  3326.        ARJ a archive !names.lst
  3327.        ARJ a archive -- -name-.txt
  3328.        ARJ a archive name1 name2 name3
  3329.        ARJ a a:archive -we:\ -vas c:\ -r -b2
  3330.        ARJ a a:archive.001 -we:\ -vvw360 c:\ -r -b1
  3331.        ARJ a archive -vw360 c:\ -r -y
  3332.        ARJ a archive c:\ *.* -r -jt1 -jf
  3333.  
  3334.  
  3335.     b: execute Batch or DOS command
  3336.  
  3337.        ARJ b archive name.txt
  3338.        ARJ b archive -jwOUT.NAM
  3339.        ARJ b archive SHEZ.EXE -jwSHEZ.EXE
  3340.        ARJ b archive *.exe -jwTEMP.EXE "-jqTEMP -help"
  3341.  
  3342.  
  3343.     c: Comment archive files
  3344.  
  3345.        ARJ c archive
  3346.        ARJ c archive -z
  3347.        ARJ c archive -zcomment.txt
  3348.        ARJ c archive -zNUL
  3349.        ARJ c archive file1 -jzcomment.txt
  3350.        ARJ c archive *.doc -jzNUL
  3351.  
  3352.  
  3353.     d: Delete files from archive
  3354.  
  3355.        ARJ d archive *.doc
  3356.        ARJ d archive *.* -jg
  3357.        ARJ d archive *.* -n
  3358.        ARJ d archive *.* -y
  3359.        ARJ d archive !names.lst
  3360.  
  3361.  
  3362.     e: Extract files from archive
  3363.  
  3364.        ARJ e archive *.doc
  3365.        ARJ e archive *.doc -d
  3366.        ARJ e archive -jd50000
  3367.        ARJ e archive -jo
  3368.        ARJ e archive -c
  3369.        ARJ e archive dir\ *.doc -jt
  3370.        ARJ e archive *.doc -y
  3371.        ARJ e archive -# 10 15 20-40
  3372.  
  3373.  
  3374.     f: Freshen files in archive
  3375.  
  3376.        ARJ f archive
  3377.        ARJ f archive -r
  3378.        ARJ f archive dir\ -r
  3379.        ARJ f archive dir\ *.doc -r
  3380.        ARJ f archive dir\ -r -jt2
  3381.  
  3382.  
  3383.     g: Garble files in archive
  3384.  
  3385.        ARJ g archive -gpassword
  3386.        ARJ g archive *.doc -gpassword
  3387.        ARJ g archive -g?
  3388.  
  3389.  
  3390.     i: check Integrity of ARJ.EXE
  3391.  
  3392.        ARJ i
  3393.        ARJ i c:\bin\arj.exe
  3394.  
  3395.  
  3396.     j: Join archives to archive
  3397.  
  3398.        ARJ j archive name1.arj name2.arj name3.arj
  3399.        ARJ j archive *.arj
  3400.        ARJ j archive arjsfx.exe
  3401.        ARJ j archive *.arj -o911201
  3402.        ARJ j archive *.arj -r
  3403.  
  3404.  
  3405.     k: pacK bacKup files in archive
  3406.  
  3407.        ARJ k archive *.*
  3408.        ARJ k archive *.* -y
  3409.        ARJ k archive *.doc -n
  3410.  
  3411.  
  3412.     l: List contents of archive
  3413.  
  3414.        ARJ l archive
  3415.        ARJ l archive *.doc
  3416.        ARJ l archive -o911201
  3417.        ARJ l archive -o911201 -ob911231
  3418.        ARJ l archive -n
  3419.        ARJ l archive -jg
  3420.        ARJ l archive -jp
  3421.  
  3422.  
  3423.     m: Move files to archive
  3424.  
  3425.        ARJ m archive
  3426.        ARJ m archive *.doc
  3427.        ARJ m archive dir\ *.doc
  3428.        ARJ m archive dir\ *.doc -o
  3429.        ARJ m a:archive.001 dir\ -r -vvwas -jt2
  3430.  
  3431.  
  3432.     n: reName files in archive
  3433.  
  3434.        ARJ n archive
  3435.        ARJ n archive *.doc
  3436.        ARJ n archive !names.lst
  3437.        ARJ n archive -o911201
  3438.  
  3439.  
  3440.     o: Order files in archive
  3441.  
  3442.        ARJ o archive !names.lst
  3443.        ARJ o archive *.bat *.exe *.doc
  3444.        ARJ o archive file1 file2 file3
  3445.  
  3446.  
  3447.     p: Print files to standard output
  3448.  
  3449.        ARJ p archive
  3450.        ARJ p archive -jp
  3451.        ARJ p archive *.doc
  3452.        ARJ p archive -o911201
  3453.        ARJ p archive name.txt > PRN
  3454.  
  3455.  
  3456.     r: Remove paths from filenames
  3457.  
  3458.        ARJ r archive
  3459.        ARJ r archive *.doc
  3460.        ARJ r archive -o911201 -ob911231
  3461.  
  3462.  
  3463.     s: Sample files to screen with pause
  3464.  
  3465.        ARJ s archive
  3466.        ARJ s archive *.doc -y
  3467.        ARJ s *.arj -y -r
  3468.  
  3469.  
  3470.     t: Test integrity of archive
  3471.  
  3472.        ARJ t archive
  3473.        ARJ t archive *.exe
  3474.        ARJ t archive !names.lst
  3475.        ARJ t archive -jt1
  3476.  
  3477.  
  3478.     u: Update files to archive
  3479.  
  3480.        ARJ u archive *.doc
  3481.        ARJ u archive *.doc -jo
  3482.  
  3483.  
  3484.     v: Verbosely list contents of archive
  3485.  
  3486.        ARJ v archive
  3487.        ARJ v archive *.doc
  3488.        ARJ v archive -jv
  3489.        ARJ v archive -jv1
  3490.        ARJ v archive -jp
  3491.        ARJ v archive -jg
  3492.  
  3493.  
  3494.     w: Where are text strings in archive
  3495.  
  3496.        ARJ w archive
  3497.        ARJ w archive -hw
  3498.        ARJ w archive -jp
  3499.        ARJ w *.arj -jp
  3500.        ARJ w *.arj *.doc
  3501.        ARJ w *.arj *.txt -jq+5+string
  3502.        ARJ w archive "-jq-3-to be or not"
  3503.  
  3504.  
  3505.     x: eXtract files with full pathname
  3506.  
  3507.        ARJ x archive *.doc
  3508.        ARJ x archive *.doc -d
  3509.        ARJ x archive -jd50000
  3510.        ARJ x archive -jo
  3511.        ARJ x archive -c
  3512.        ARJ x archive dir\ *.doc
  3513.        ARJ x archive -jf
  3514.        ARJ x archive *.doc -jyc
  3515.  
  3516.  
  3517.     y: copY archive with new options
  3518.  
  3519.        ARJ y archive -je
  3520.        ARJ y archive -je1
  3521.        ARJ y archive -jb
  3522.        ARJ y archive -jb1
  3523.        ARJ y archive -jb2
  3524.        ARJ y archive *.bat -jb2
  3525.  
  3526.  
  3527.      ARJ_SECURITY ENVELOPE:
  3528.  
  3529.     The ARJ-SECURITY ENVELOPE feature provides a facility similar to
  3530.     other archivers.  This feature disallows any type of modification,
  3531.     even commenting, to an ARJ-SECURED archive by ARJ.  Moreover, there
  3532.     are additional internal checks to determine if the ARJ-SECURED
  3533.     archive has been modified in any way.  This EXTRA cost feature is
  3534.     intended for use by software developers who distribute their
  3535.     software in archived format and is only available for a special
  3536.     fee.  However, there can be no guarantee that this mechanism cannot
  3537.     be defeated.
  3538.  
  3539.     When accessing an ARJ-SECURED archive, ARJ will display a message
  3540.     indicating that ARJ is verifying the security envelope.  If the
  3541.     envelope is damaged, a message will be displayed indicating so.
  3542.     If the envelope is intact, then the ARJ-SECURITY signature of the
  3543.     user locking the archive will be displayed.
  3544.  
  3545.     If the security envelope has been tampered with or the archive has
  3546.     suffered data corruption, ARJ will display a message stating that
  3547.     the security envelope has been damaged.  In addition, ARJ will not
  3548.     abort processing the archive.  The ARJ "-he" option and the ARJSFX
  3549.     "-s" option will skip the envelope verification.  The most likely
  3550.     causes of an invalid envelope are that the file was corrupted in
  3551.     transmission or that the archive was tampered with.
  3552.  
  3553.  
  3554.      KNOWN ARJ ISSUES/PROBLEMS:
  3555.  
  3556.     Under MS-DOS 4.01, ARJ may not extract LARGE (greater than 32MB)
  3557.     files from multiple volume archives properly.  The "dir" reported
  3558.     size may be incorrect.    A simple "CHKDSK /f" will correct the size.
  3559.     This problem is due to a BUG in MS-DOS 4.01.  Microsoft Corp has
  3560.     fixes available for several DOS 4.01 bugs including this one.
  3561.  
  3562.     Due to the inner workings of Turbo C++, ARJ may run out of memory
  3563.     if your computer is configured with thousands of bytes of
  3564.     environment variables.
  3565.  
  3566.     When using a working directory, ARJ does not check for disk space
  3567.     before overwriting the original archive.  Be sure you have enough
  3568.     space before updating an archive using the "-w" switch.
  3569.  
  3570.     Because of a bug with extended archive header processing, you
  3571.     should convert to ARJ 2.10 and above as soon as practical.  This
  3572.     bug is NOT a current problem because no version of ARJ supports the
  3573.     use of the extended header.
  3574.  
  3575.     If you have garbled (-g) ARJ archives that were created by ARJ 2.21
  3576.     and the garbled files were stored (-m0) by ARJ, you may need to
  3577.     refer to ARJ 2.30 to extract those files without getting a CRC
  3578.     error.
  3579.  
  3580.     TSRs that activate via HOT KEYS may be inhibited by ARJ during
  3581.     user keyboard input.  This is a "feature" of the Turbo C++ getc()
  3582.     function.  A partial workaround is to use the ARJ "-jyry" option
  3583.     to go to single key query mode.
  3584.  
  3585.     A similar problem occurs with HYPERDISK and staged writes.
  3586.     HYPERDISK's timer delay appears to be inhibited during ARJ user
  3587.     keyboard input such as during "Ok to ... volume/diskette?".  This
  3588.     causes an error when you swap to the next diskette.  The workaround
  3589.     is to use the ARJ "-jyry" option to go to single key query mode.
  3590.  
  3591.     There is a reported problem using ARJ and floppy disk drives when
  3592.     using the disk cache program SUPER PCKWIK 3.30 with advanced
  3593.     diskette support (/D+).  The system may occasionally hang when ARJ
  3594.     attempts to read/write the diskette.  You may also get CRC or
  3595.     Bad file data errors.  Disabling the SUPER PCKWIK option with /D-
  3596.     appears to remove this problem.  Other programs have similar
  3597.     problems with this feature of SUPER PCKWIK.
  3598.  
  3599.  
  3600.      ARJ ERROR MESSAGES:
  3601.  
  3602.     See the document ERRORS.DOC.
  3603.  
  3604.  
  3605.      ARJ TECHNICAL SUPPORT:
  3606.  
  3607.     I have received many useful suggestions from users all over the
  3608.     world.    Many of those suggestions are in this version or will be
  3609.     incorporated in later versions of ARJ.
  3610.  
  3611.     I will try to resolve software problems with ARJ as they are made
  3612.     known to me.  Please notify me of any ARJ problems by mail, email
  3613.     or via the ARJ support BBSes mentioned below.  I will strive to
  3614.     make ARJ a robust, stable and useful product.
  3615.  
  3616.     I will try to support unregistered users during their evaluation
  3617.     period, but I reserve the right to limit support to any
  3618.     unregistered user if requests become excessive.  Registered users
  3619.     will be eligible to receive technical support by telephone.
  3620.  
  3621.     ********************************************************************
  3622.  
  3623.     To ensure a reply when using the postal system, UNREGISTERED users
  3624.     should enclose a stamped self-addressed envelope with your
  3625.     correspondence.  Foreign UNREGISTERED corresponders should include
  3626.     currency or postal coupons instead of stamps.  Otherwise, your
  3627.     correspondence may go unanswered.  This does not apply to ARJ
  3628.     business correspondence.
  3629.  
  3630.     Your financial support is needed for the ARJ archiver and format to
  3631.     succeed.
  3632.  
  3633.     ********************************************************************
  3634.  
  3635.  
  3636.      ARJ AVAILABILITY:
  3637.  
  3638.     The latest version of ARJ can be obtained from the following
  3639.     sources:
  3640.  
  3641.     ARJ SUPPORT BBSes:  See ARJ_BBS.DOC
  3642.  
  3643.     ARJ is available from a number of other BBSes, but I can only vouch
  3644.     for the integrity of the archive if the ARJ###.EXE verifies its
  3645.     ARJ-SECURITY envelope as valid.  If no security envelope exists,
  3646.     then the data has been re-archived and there is no assurance of
  3647.     data integrity.
  3648.  
  3649.     If none of the above sources are suitable, you may order a copy of
  3650.     the latest version of ARJ directly from the author.
  3651.  
  3652.     Send a check or money order for five dollars (US) to cover the
  3653.     costs of shipping and handling for U.S. delivery.  For foreign
  3654.     delivery, send ten dollars (US) to cover shipping and handling.
  3655.     Please specify diskette size (3.5 or 5.25 inch);  otherwise, a 3.5
  3656.     inch diskette will be shipped.    Please allow a few weeks for
  3657.     delivery, longer for foreign deliveries.
  3658.  
  3659.     Our address is at the end of this document.
  3660.  
  3661.  
  3662.     SDN EXTENSION FILES
  3663.  
  3664.     SDN International(sm) is a FidoNet hobby organization which makes
  3665.     available for distribution author-direct shareware files to FidoNet
  3666.     capable bulletin board systems world wide.  ARJ has been chosen by
  3667.     SDN sysops' consensus as its official compression utility.
  3668.  
  3669.     Program files distributed via SDN have a copyright ".SDN"
  3670.     extension.  Files distributed by SDN after February 1993 can be
  3671.     decompressed by ARJ.  Files dated earlier can be decompressed if
  3672.     the compression utility SDN previously used is on PATH.
  3673.  
  3674.     SDN files are security sealed with their own exclusive security
  3675.     seal, FSecure, created by Pacesoft.  This security may be verified
  3676.     using the FileTest utility available at the SDN Project AuthorLine
  3677.     BBS 203-634-0370 or at most SDN participating BBS sites.
  3678.  
  3679.     Shareware authors wishing to distribute shareware by release
  3680.     through SDN may contact the same SDN Project AuthorLine BBS.
  3681.  
  3682.  
  3683.      DISTRIBUTORS:
  3684.  
  3685.     The following are authorized distributors for ARJ.  They provide
  3686.     local registration and technical support for ARJ.  Other
  3687.     distributors only provide the evaluation version of ARJ.
  3688.  
  3689.  
  3690.     In Australia:
  3691.  
  3692.     Christian Kraus          Work Phone: 61-2-564-2545
  3693.     Online-Tronics                Fax: 61-2-560-5755
  3694.     Postal Address:            BBS Name: Ontron Australia BBS
  3695.     P.O. Box 112             Data Phone: 61-2-564-2172
  3696.     Westgate NSW 2048                 (300-14400 V.32BIS)
  3697.     Sydney, Australia
  3698.  
  3699.     Real Address:
  3700.     1st Floor
  3701.     45-49 Crystal Street
  3702.     Petersham NSW 2049
  3703.  
  3704.  
  3705.     In Brazil:
  3706.  
  3707.     Paulo Cesar Breim            Tel: 889-8366
  3708.     CANAL VIP BBS                Fax: 889-8365
  3709.     Av. Bernardino deCampos 48 Cj.21    BBS: 889-7222
  3710.     Sao Paulo   SP      Brazil           X.25: 0724 111320430
  3711.     CEP: 04004-050
  3712.  
  3713.  
  3714.     In Denmark:
  3715.  
  3716.     Jens Rex                Tel: (+45) 53 61 90 42
  3717.     Prof. Shareware             Fax: (+45) 53 61 93 91
  3718.     Benloese Skel 4 G         CompuServe: 100065,1744
  3719.     DK 4100 Ringsted
  3720.     Denmark
  3721.  
  3722.  
  3723.     In Germany:
  3724.  
  3725.     C.A.T. Kommunikations-System        Tel: +49-6192-41360
  3726.         Systemberatung A. Dunkel                Fax: +49-6192-46949
  3727.         Koenigsberger Strasse 41           Internet: arj@cat.de
  3728.         D 65830 Kriftel                      SubNet: arj@cat.sub.org
  3729.         Germany                             FidoNet: 2:241/6010
  3730.                                             Mailbox: +49-6192-42054 2400-19200
  3731.                                                      +49-6192-42055 V.32bis
  3732.                                                      +49-6192-42056 V.32 Fido
  3733.                                                      +49-6192-42057 PEP
  3734.  
  3735.  
  3736.  
  3737.     In the Netherlands:
  3738.  
  3739.     HaSa Software Applications        Tel: (+31) 50-183233
  3740.     P.O. Box 1144                Fax: (+31) 50-188117
  3741.     9701 BC Groningen            BBS: (+31) 50-125697
  3742.     The Netherlands                  (+31) 50-144783
  3743.  
  3744.  
  3745.     In the United Kingdom:
  3746.  
  3747.     Alan Stocker                Tel: 0223 208288
  3748.     Precision Software Publishing        Fax: 0223 208089
  3749.     3, Valley Court Offices,        BBS: 0223 208094
  3750.     Lower Road, Croydon, Nr. Royston,
  3751.     Hertfordshire SG8 0HF         CompuServe: 70007,5562
  3752.     United Kingdom                     100034,2353
  3753.  
  3754.  
  3755.     In the United States:
  3756.  
  3757.     Robert and Susan Jung         CompuServe: 72077,445
  3758.     ARJ Software               Internet: robjung@world.std.com
  3759.  
  3760.     See our address at the end of this document.
  3761.  
  3762.      ACKNOWLEDGEMENTS:
  3763.  
  3764.     LHARC is the name of an archiver by Haruyasu Yoshizaki.
  3765.     PKZIP and ZIP are trademarks of PKWare, Inc.
  3766.     PAK is the trademark of NoGate Consulting.
  3767.  
  3768.     I wish to express my gratitude to Haruyasu Yoshizaki (Yoshi) for
  3769.     developing LHARC and distributing its source code.  LHARC gave me
  3770.     the impetus to start studying data compression.  I also wish to
  3771.     thank Haruhiko Okumura for providing additional ideas.    His AR001
  3772.     and AR002 program provided the basic design for the early versions
  3773.     of ARJ.
  3774.  
  3775.     I also wish to thank Fabrice BELLARD for LZEXE which is used to
  3776.     squish the ARJ SFX modules.
  3777.  
  3778.     And my thanks also go to Paul Kocher who contributed the design of
  3779.     the new ARJ SECURITY envelope mechanism.
  3780.  
  3781.     I wish to thank those who have contributed significantly to the
  3782.     development of ARJ.  Those include:
  3783.  
  3784.     Soeren Pingel Dalsgaard
  3785.     Axel Dunkel
  3786.     Jonathan Forbes
  3787.     Ron Freimuth
  3788.     Brian Godette
  3789.     Robb Hufalt
  3790.     Arkady Kleyner
  3791.     Michael Lawler
  3792.     Ken Levitt
  3793.     Eberhard Mattes
  3794.     Mike McCombs
  3795.     Alexander Pruss
  3796.     Joseph Teller
  3797.  
  3798.     And to the many others who have helped, provided messages of
  3799.     support, or provided financial support, THANKS!!!  Because of
  3800.     you, I am able to provide FULL-TIME support to ARJ!
  3801.  
  3802.     I wish to thank my wife, Susan, and my son, Timothy, for putting
  3803.     up with this ARJ obsession.  Their encouragement and support have
  3804.     been invaluable.
  3805.  
  3806.     But my greatest thanks goes to Almighty God for His inspiration
  3807.     and great salvation.  For apart from Him, ARJ could not have been
  3808.     done.  John 15:5
  3809.  
  3810.  
  3811.      USAGE AND DISTRIBUTION POLICY:
  3812.  
  3813.     See LICENSE.DOC file for license policy.
  3814.  
  3815.  
  3816.      BRIEF BIOGRAPHY OF THE AUTHOR OF ARJ:
  3817.  
  3818.     Robert Jung grew up in Catonsville and Baltimore, Maryland.  He
  3819.     graduated from the University of Maryland in 1970.  After a short
  3820.     stint in the U.S. Army, he taught chemistry for six years.  From
  3821.     teaching he entered the computer programming profession where he
  3822.     was employed as a programmer analyst, a network analyst, and a
  3823.     senior software engineer.  In late 1990, he developed the ARJ
  3824.     archive format and program to meet a personal need in archiving.
  3825.     In February of 1991, he released ARJ 1.00 as a shareware product.
  3826.     The author currently supports ARJ full-time and resides in
  3827.     Norwood, Massachusetts with his wife, Susan, and son, Timothy.
  3828.  
  3829.  
  3830.      FINAL COMMENTS:
  3831.  
  3832.     I do hope that you find this program as useful as I have.  I would
  3833.     appreciate any suggestions to improve this archiver.
  3834.  
  3835.     You can reach me at:
  3836.  
  3837.     Robert Jung at Channel One BBS        (617) 354-8873
  3838.     Join the mailbox conference with "j mailbox" to send email to me.
  3839.  
  3840.     Robert Jung at Bay State BBS        (617) 598-6646
  3841.  
  3842.     Robert Jung at FIDONET address:  1:16/390.7
  3843.  
  3844.     Robert Jung in the ARJ echo conference available from the Fidonet
  3845.     echo backbone.
  3846.  
  3847.     Robert Jung in the RIME/RELAYNET ARJ conference.  The national
  3848.     number of the ARJ conference is 275.
  3849.  
  3850.     Robert Jung in the GT POWER ARJ echo conference.
  3851.  
  3852.     ARJ users are encouraged to use the above echoes to submit
  3853.     questions, problems, and new features requests.
  3854.  
  3855.     Robert Jung in the COMPRESS (ILINK), LHARC (SMARTNET), or ARCHIVERS
  3856.     (RIME/RELAYNET) echo conferences.
  3857.  
  3858.     Internet address:  robjung@world.std.com
  3859.  
  3860.     CompuServe userid: 72077,445
  3861.  
  3862.     ***** LOOK FOR AN UPDATED ADDRESS IN 1994 *****
  3863.  
  3864.     Robert and Susan Jung
  3865.     2606 Village Road West
  3866.     Norwood, Massachusetts 02062
  3867.     USA
  3868.  
  3869.     ***********************************************
  3870.  
  3871.  
  3872.       End of document
  3873.  
  3874.